UNPKG

1.08 kBTypeScriptView Raw
1import { Command, flags } from '@anycli/command';
2export default class Hello extends Command {
3 static title: string;
4 static description: string;
5 static examples: string[];
6 static flags: {
7 name: flags.IOptionFlag<string | undefined>;
8 force: {
9 name: string;
10 char?: "a" | "b" | "i" | "p" | "q" | "s" | "u" | "g" | "c" | "d" | "e" | "f" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "v" | "x" | "y" | "z" | "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "X" | "Y" | "Z" | undefined;
11 description?: string | undefined;
12 hidden?: boolean | undefined;
13 required?: boolean | undefined;
14 env?: string | undefined;
15 parse(input: boolean, context: any): boolean;
16 } & {
17 type: "boolean";
18 allowNo: boolean;
19 };
20 };
21 static args: {
22 name: string;
23 required: boolean;
24 description: string;
25 }[];
26 run(): Promise<void>;
27}