UNPKG

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