UNPKG

923 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 get topics(): Config.Topic[];
10 get 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 get moduleCommands(): Config.Command.Class[];
18 protected get moduleTopics(): Config.Topic[];
19 private convertCommand;
20 private convertFromICommand;
21 private convertFromFlow;
22 private convertFromV5;
23 private isICommand;
24 private isV5Command;
25 private isFlowCommand;
26}