@oclif/plugin-legacy
- Version 1.3.0
- Published
- 13.2 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: 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.
Badge
To add a badge like this oneto 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[](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>
- Updated .
Package analyzed in 1272 ms. - Missing or incorrect documentation? Open an issue for this package.