UNPKG

create-oclif

Version:

oclif: create your own CLI

23 lines (22 loc) 732 B
import { flags } from '@oclif/command'; import Base from '../command_base'; export interface Options { name: string; defaults?: boolean; force?: boolean; event: string; } export default abstract class HookCommand extends Base { static description: string; static flags: { defaults: import("../../node_modules/@oclif/command/node_modules/@oclif/parser/lib/flags").IBooleanFlag<boolean>; force: import("../../node_modules/@oclif/command/node_modules/@oclif/parser/lib/flags").IBooleanFlag<boolean>; event: flags.IOptionFlag<string | undefined>; }; static args: { name: string; description: string; required: boolean; }[]; run(): Promise<void>; }