fedapay-cli
Version:
A command-line tool for FedaPay
36 lines (35 loc) • 953 B
TypeScript
import { flags } from '@oclif/command';
import Samples from '../samples';
/**
* samplesCreate class extending the superClass Samples
*/
export default class SamplesCreate extends Samples {
/**
* @param String
* Description of the command samples:create
*/
static description: string;
/**
* @param string
* custom usage string for help
* this overrides the default usage
*/
static usage: string;
/**
* @param object
* Declaration of the command flag
*/
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
type: flags.IOptionFlag<string>;
name: flags.IOptionFlag<string>;
'api-key': flags.IOptionFlag<string>;
environment: flags.IOptionFlag<string>;
};
/**
* @param string[]
* some examples of the samples create use for help
*/
static examples: string[];
run(): Promise<void>;
}