UNPKG

638 BTypeScriptView Raw
1import { flags } from '@oclif/command';
2import Base from '../command-base';
3export interface Options {
4 name: string;
5 defaults?: boolean;
6 force?: boolean;
7 event: string;
8}
9export default abstract class HookCommand extends Base {
10 static description: string;
11 static flags: {
12 defaults: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
13 force: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
14 event: flags.IOptionFlag<string | undefined>;
15 };
16 static args: {
17 name: string;
18 description: string;
19 required: boolean;
20 }[];
21 run(): Promise<void>;
22}