fedapay-cli
Version:
A command-line tool for FedaPay
36 lines (35 loc) • 1.03 kB
TypeScript
import { flags } from '@oclif/command';
import Transactions from '../transactions';
/**
* TransactionList class extending superClass Transactions
*/
export default class TransactionsList extends Transactions {
/**
* @params String
* Description of the command transactions:list
*/
static description: string;
/**
* The command usage
* @var string
*/
static usage: string;
/**
* @param object
* Declaration of the command flags
*/
static flags: {
limit: import("@oclif/parser/lib/flags").IOptionFlag<number>;
page: import("@oclif/parser/lib/flags").IOptionFlag<number>;
filters: 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 transaction:list command
*/
static examples: string[];
run(): Promise<void>;
}