@oclif/plugin-legacy
- Version 2.0.18
- Published
- 368 kB
- 5 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 Plugin implements Interfaces.Plugin {}
constructor
constructor(config: Interfaces.Config, base: Interfaces.Plugin);
property base
base: Interfaces.Plugin;
property config
config: Interfaces.Config;
property moduleCommands
readonly moduleCommands: Command.Class[];
property moduleTopics
readonly moduleTopics: Interfaces.Topic[];
property topics
readonly topics: Interfaces.Topic[];
method findCommand
findCommand: { (id: string, opts: { must: true }): Promise<Command.Class>; (id: string, opts?: { must?: boolean }): Promise<any>;};
method getCommandIds
protected getCommandIds: () => Promise<any[]>;
Package Files (1)
Dependencies (5)
Dev Dependencies (29)
- @commitlint/config-conventional
- @heroku-cli/plugin-apps
- @heroku-cli/plugin-status
- @oclif/plugin-help
- @oclif/prettier-config
- @oclif/test
- @types/chai
- @types/mocha
- @types/nock
- @types/node
- @types/semver
- @types/supports-color
- chai
- commitlint
- eslint
- eslint-config-oclif
- eslint-config-oclif-typescript
- eslint-config-prettier
- globby
- heroku-apps
- husky
- lint-staged
- mocha
- nock
- nyc
- oclif
- prettier
- ts-node
- typescript
Peer Dependencies (1)
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[![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>
- Updated .
Package analyzed in 1392 ms. - Missing or incorrect documentation? Open an issue for this package.