@oclif/plugin-legacy

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

Install

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

Overview

converts older style plugins to be compatible with oclif

Index

Classes

class PluginLegacy

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

    constructor

    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.

                    Badge

                    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
                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@oclif/plugin-legacy)
                    • 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>