• Version 1.3.0
  • Published
  • 13.2 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: Config.IConfig, base: Config.IPlugin);

      property base

      base: Config.IPlugin;

        property commandIDs

        readonly commandIDs: string[];

          property config

          config: Config.IConfig;

            property moduleCommands

            readonly moduleCommands: Config.Command.Class[];

              property moduleTopics

              readonly moduleTopics: Config.Topic[];

                property topics

                readonly topics: Config.Topic[];

                  method findCommand

                  findCommand: {
                  (id: string, opts: { must: true }): Config.Command.Class;
                  (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>