fedapay-cli
Version:
A command-line tool for FedaPay
35 lines (34 loc) • 953 B
TypeScript
import { flags } from '@oclif/command';
import Webhooks from '../webhooks';
export default class WebhooksListen 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: {
url: flags.IOptionFlag<string>;
log: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
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[];
private webhook;
private deleteWebhook;
private isLocalNetwork;
run(): Promise<void>;
}