1 | import { Command, flags } from '@anycli/command';
|
2 | export 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 | parse(input: boolean): boolean;
|
15 | } & {
|
16 | type: "boolean";
|
17 | allowNo: boolean;
|
18 | };
|
19 | };
|
20 | static args: {
|
21 | name: string;
|
22 | required: boolean;
|
23 | description: string;
|
24 | }[];
|
25 | options: {
|
26 | flags: {
|
27 | name: any;
|
28 | force: any;
|
29 | };
|
30 | args: {
|
31 | [name: string]: string;
|
32 | };
|
33 | argv: string[];
|
34 | raw: ({
|
35 | type: "arg";
|
36 | input: string;
|
37 | } | {
|
38 | type: "flag";
|
39 | flag: string;
|
40 | input: string;
|
41 | })[];
|
42 | };
|
43 | run(): Promise<void>;
|
44 | }
|