1 | import Command, { flags } from '@oclif/command';
|
2 | import * as Case from 'case';
|
3 | import * as colors from 'colors/safe';
|
4 | import * as inquirer from 'inquirer';
|
5 | import { AuthConfig, Config } from './types';
|
6 | import Locator from './utils/locator';
|
7 | import { IntegrationClient } from './utils/integration-client';
|
8 | export default abstract class extends Command {
|
9 | readonly locator: Locator;
|
10 | readonly inquirer: inquirer.Inquirer;
|
11 | readonly copy: (inDir: string, outDir: string, vars: Record<string, string>, callBack: CopycallBack) => void;
|
12 | readonly case: typeof Case;
|
13 | readonly ux: any;
|
14 | readonly colors: typeof colors;
|
15 | readonly serviceClient: any;
|
16 | readonly integrationClient: IntegrationClient;
|
17 | readonly integrationAuthConfig: AuthConfig;
|
18 | readonly hasViews: boolean;
|
19 | static flags: {
|
20 | help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
|
21 | path: flags.IOptionFlag<string | undefined>;
|
22 | silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
23 | };
|
24 | bearerConfig: Config;
|
25 | silent: boolean;
|
26 | success(message: string): void;
|
27 | log(_message?: string, ..._args: any[]): void;
|
28 | warn(_input: string | Error): void;
|
29 | init(): Promise<void>;
|
30 | |
31 |
|
32 |
|
33 | protected askForString(phrase: string): Promise<string>;
|
34 | }
|