• Version 1.2.0
  • Published
  • 20.7 kB
  • 7 dependencies
  • MIT license


npm i @oclif/plugin-legacy
yarn add @oclif/plugin-legacy
pnpm add @oclif/plugin-legacy


converts older style plugins to be compatible with oclif



class PluginLegacy

class PluginLegacy extends Config.Plugin implements Config.IPlugin {}


    constructor(config: any, base: any);

      property base

      base: any;

        property commandIDs

        readonly commandIDs: string[];

          property config

          config: any;

            property moduleCommands

            readonly moduleCommands: any[];

              property moduleTopics

              readonly moduleTopics: any[];

                property topics

                readonly topics: any[];

                  method findCommand

                  findCommand: {
                  (id: string, opts: { must: true }): any;
                  (id: string, opts?: { must?: boolean }): any;

                    Package Files (1)

                    Dependencies (7)

                    Dev Dependencies (24)

                    Peer Dependencies (0)

                    No peer dependencies.


                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@oclif/plugin-legacy.

                    • Markdown
                    • HTML
                      <a href="https://www.jsdocs.io/package/@oclif/plugin-legacy"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>