@oclif/plugin-plugins
- Version 2.2.4
- Published
- 57.7 kB
- 11 dependencies
- MIT license
Install
npm i @oclif/plugin-plugins
yarn add @oclif/plugin-plugins
pnpm add @oclif/plugin-plugins
Overview
plugins plugin for oclif
Index
Classes
class Plugins
class Plugins {}
constructor
constructor(config: Interfaces.Config);
property config
config: Interfaces.Config;
property verbose
verbose: boolean;
property yarn
readonly yarn: Yarn;
method add
add: (plugin: Interfaces.PJSON.PluginTypes) => Promise<void>;
method friendlyName
friendlyName: (name: string) => string;
method hasPlugin
hasPlugin: ( name: string) => Promise< Interfaces.PJSON.PluginTypes.Link | Interfaces.PJSON.User | boolean>;
method install
install: ( name: string, { tag, force }?: { tag?: string | undefined; force?: boolean | undefined }) => Promise<Interfaces.Config>;
method link
link: (p: string) => Promise<void>;
method list
list: () => Promise< (Interfaces.PJSON.PluginTypes.User | Interfaces.PJSON.PluginTypes.Link)[]>;
method maybeUnfriendlyName
maybeUnfriendlyName: (name: string) => Promise<string>;
method pjson
pjson: () => Promise<Interfaces.PJSON.User>;
method refresh
refresh: (root: string, { prod }?: { prod?: boolean }) => Promise<void>;
method remove
remove: (name: string) => Promise<void>;
method unfriendlyName
unfriendlyName: (name: string) => string | undefined;
method uninstall
uninstall: (name: string) => Promise<void>;
method update
update: () => Promise<void>;
method yarnNodeVersion
yarnNodeVersion: () => Promise<string | undefined>;
Package Files (2)
Dependencies (11)
Dev Dependencies (23)
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-plugins
.
- Markdown[](https://www.jsdocs.io/package/@oclif/plugin-plugins)
- HTML<a href="https://www.jsdocs.io/package/@oclif/plugin-plugins"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2790 ms. - Missing or incorrect documentation? Open an issue for this package.