1 | import Authentications from '@bearer/types/lib/authentications';
|
2 | import { flags } from '@oclif/command';
|
3 | import BaseCommand from '../base-command';
|
4 | export default class New extends BaseCommand {
|
5 | static description: string;
|
6 | static flags: {
|
7 | help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
|
8 | skipInstall: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
9 | authType: flags.IOptionFlag<string | undefined>;
|
10 | path: flags.IOptionFlag<string | undefined>;
|
11 | silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
12 | };
|
13 | static args: {
|
14 | name: string;
|
15 | }[];
|
16 | private destinationFolder;
|
17 | private path?;
|
18 | run(): Promise<void>;
|
19 | getVars: (name: string, authType: Authentications) => {
|
20 | integrationTitle: string;
|
21 | componentName: string;
|
22 | componentTagName: string;
|
23 | bearerTagVersion: string;
|
24 | bearerRestClient: string;
|
25 | };
|
26 | bearerRestClient(authType: Authentications): string;
|
27 | readonly copyDestFolder: string;
|
28 | createStructure(name: string, authType: Authentications): Promise<string[]>;
|
29 | createAuthenticationFiles(name: string, authType: Authentications): Promise<string[]>;
|
30 | askForAuthType(): Promise<Authentications>;
|
31 | }
|