fedapay-cli
Version:
A command-line tool for FedaPay
32 lines (31 loc) • 913 B
TypeScript
import { flags } from '@oclif/command';
import Transactions from '../transactions';
export default class TransactionsCreate extends Transactions {
/**
* @params String
* Description of the command transactions: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[]>;
'with-token': 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 transaction:create command
*/
static examples: string[];
run(): Promise<void>;
}