UNPKG

968 BTypeScriptView Raw
1import * as Config from '@oclif/config';
2export declare class PluginLegacy extends Config.Plugin implements Config.IPlugin {
3 config: Config.IConfig;
4 base: Config.IPlugin;
5 _base: string;
6 protected _moduleCommands?: Config.Command.Class[];
7 protected _moduleTopics?: Config.Topic[];
8 constructor(config: Config.IConfig, base: Config.IPlugin);
9 readonly topics: Config.Topic[];
10 readonly commandIDs: string[];
11 findCommand(id: string, opts: {
12 must: true;
13 }): Config.Command.Class;
14 findCommand(id: string, opts?: {
15 must?: boolean;
16 }): Config.Command.Class | undefined;
17 protected readonly moduleCommands: Config.Command.Class[];
18 protected readonly moduleTopics: Config.Topic[];
19 private convertCommand(c);
20 private convertFromICommand(c);
21 private convertFromFlow(c);
22 private convertFromV5(c);
23 private isICommand(c);
24 private isV5Command(command);
25 private isFlowCommand(command);
26}