UNPKG

1.11 kBTypeScriptView Raw
1import { Command, flags } from '@oclif/command';
2/**
3 * Create a .clarkrc file in your project root
4 */
5export default class Init extends Command {
6 /**
7 * description
8 */
9 static description: string;
10 /**
11 * flags
12 */
13 static flags: {
14 force: {
15 name: string;
16 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;
17 description?: string | undefined;
18 hidden?: boolean | undefined;
19 required?: boolean | undefined;
20 dependsOn?: string[] | undefined;
21 env?: string | undefined;
22 parse(input: boolean, context: any): boolean;
23 } & {
24 type: "boolean";
25 allowNo: boolean;
26 };
27 script: flags.IOptionFlag<string[]>;
28 };
29 /**
30 * implementation
31 */
32 run(): Promise<void>;
33}