Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PluginRemoveCommand

Hierarchy

Properties

Methods

Properties

cwd

cwd: undefined | string = Option.String(`--cwd`, {hidden: true})

name

name: string = Option.String()

Static paths

paths: string[][] = [[`plugin`, `remove`],]

Static usage

usage: Usage = Command.Usage({category: `Plugin-related commands`,description: `remove a plugin`,details: `This command deletes the specified plugin from the .yarn/plugins folder and removes it from the configuration.**Note:** The plugins have to be referenced by their name property, which can be obtained using the \`yarn plugin runtime\` command. Shorthands are not allowed.`,examples: [[`Remove a plugin imported from the Yarn repository`,`$0 plugin remove @yarnpkg/plugin-typescript`,], [`Remove a plugin imported from a local file`,`$0 plugin remove my-local-plugin`,]],})

Methods

execute

  • execute(): Promise<0 | 1>

Generated using TypeDoc