create-oclif
Version:
oclif: create your own CLI
17 lines (16 loc) • 610 B
TypeScript
import { flags } from '@oclif/command';
import Base from './command_base';
export default abstract class AppCommand extends Base {
static flags: {
defaults: import("../node_modules/@oclif/command/node_modules/@oclif/parser/lib/flags").IBooleanFlag<boolean>;
options: flags.IOptionFlag<string | undefined>;
force: import("../node_modules/@oclif/command/node_modules/@oclif/parser/lib/flags").IBooleanFlag<boolean>;
};
static args: {
name: string;
required: boolean;
description: string;
}[];
abstract type: string;
run(): Promise<void>;
}