@oclif/plugin-plugins

  • Version 1.10.0
  • Published
  • 72.9 kB
  • 13 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: any);

      property config

      config: any;

        property verbose

        verbose: boolean;

          property yarn

          readonly yarn: Yarn;

            method add

            add: (plugin: any) => Promise<void>;

              method friendlyName

              friendlyName: (name: string) => string;

                method hasPlugin

                hasPlugin: (
                name: string
                ) => Promise<
                false | Config.PJSON.PluginTypes.User | Config.PJSON.PluginTypes.Link
                >;

                  method install

                  install: (
                  name: string,
                  { tag, force }?: { tag?: string | undefined; force?: boolean | undefined }
                  ) => Promise<Config.IConfig>;
                    link: (p: string) => Promise<void>;

                      method list

                      list: () => Promise<
                      (Config.PJSON.PluginTypes.User | Config.PJSON.PluginTypes.Link)[]
                      >;

                        method maybeUnfriendlyName

                        maybeUnfriendlyName: (name: string) => Promise<string>;

                          method pjson

                          pjson: () => Promise<Config.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 (13)

                                        Dev Dependencies (20)

                                        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-plugins.

                                        • Markdown
                                          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](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>