fedapay-cli
Version:
A command-line tool for FedaPay
31 lines (30 loc) • 810 B
TypeScript
import { flags } from '@oclif/command';
import Webhooks from '../webhooks';
export default class WebhooksCreate extends Webhooks {
/**
* @params String
* Description of the command webhooks:create
*/
static description: string;
/**
* The command usage
* @var string
*/
static usage: string;
/**
* @params Object
* Insertion of the different commands flags
*/
static flags: {
data: flags.IOptionFlag<string[]>;
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
'api-key': flags.IOptionFlag<string>;
environment: flags.IOptionFlag<string>;
};
/**
* @param Sting[]
* Some example of use of the webhook:create command
*/
static examples: string[];
run(): Promise<void>;
}