Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NpmTagListCommand

Hierarchy

Properties

Methods

Properties

cwd

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

json

json: boolean = Option.Boolean(`--json`, false, {description: `Format the output as an NDJSON stream`,})

package

package: undefined | string = Option.String({required: false})

Static paths

paths: string[][] = [[`npm`, `tag`, `list`],]

Static usage

usage: Usage = Command.Usage({category: `Npm-related commands`,description: `list all dist-tags of a package`,details: `This command will list all tags of a package from the npm registry.If the package is not specified, Yarn will default to the current workspace.`,examples: [[`List all tags of package \`my-pkg\``,`yarn npm tag list my-pkg`,]],})

Methods

execute

  • execute(): Promise<void>

Generated using TypeDoc