Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfigUnsetCommand

Hierarchy

Properties

Methods

Properties

cwd

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

home

home: boolean = Option.Boolean(`-H,--home`, false, {description: `Update the home configuration instead of the project configuration`,})

name

name: string = Option.String()

Static paths

paths: string[][] = [[`config`, `unset`],]

Static usage

usage: Usage = Command.Usage({description: `unset a configuration setting`,details: `This command will unset a configuration setting.`,examples: [[`Unset a simple configuration setting`,`yarn config unset initScope`,], [`Unset a complex configuration setting`,`yarn config unset packageExtensions`,], [`Unset a nested configuration setting`,`yarn config unset npmScopes.company.npmRegistryServer`,]],})

Methods

execute

  • execute(): Promise<0 | 1>

Generated using TypeDoc