Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PatchCommand

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: string = Option.String()

Static paths

paths: string[][] = [[`patch`],]

Static usage

usage: Usage = Command.Usage({description: `prepare a package for patching`,details: `This command will cause a package to be extracted in a temporary directory intended to be editable at will.Once you're done with your changes, run \`yarn patch-commit -s <path>\` (with \`<path>\` being the temporary directory you received) to generate a patchfile and register it into your top-level manifest via the \`patch:\` protocol. Run \`yarn patch-commit -h\` for more details.`,})

Methods

execute

  • execute(): Promise<void>

Generated using TypeDoc