UNPKG

1.04 kBTypeScriptView Raw
1import Authentications from '@bearer/types/lib/authentications';
2import { flags } from '@oclif/command';
3import BaseCommand from '../../base-command';
4declare enum TComponent {
5 BLANK = "blank",
6 COLLECTION = "collection",
7 ROOT = "root"
8}
9export default class GenerateComponent extends BaseCommand {
10 static description: string;
11 static aliases: string[];
12 static flags: {
13 type: flags.IOptionFlag<string | undefined>;
14 help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
15 path: flags.IOptionFlag<string | undefined>;
16 silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
17 };
18 static args: {
19 name: string;
20 }[];
21 run(): Promise<void>;
22 getVars(name: string, authType: Authentications): {
23 componentName: string;
24 fileName: string;
25 componentClassName: string;
26 componentTagName: string;
27 groupName: string;
28 withAuthScreen: string | null;
29 };
30 askForComponentType(): Promise<TComponent>;
31}
32export {};