Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConstraintsSourceCommand

Hierarchy

Properties

Methods

Properties

cwd

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

verbose

verbose: boolean = Option.Boolean(`-v,--verbose`, false, {description: `Also print the fact database automatically compiled from the workspace manifests`,})

Static paths

paths: string[][] = [[`constraints`, `source`],]

Static usage

usage: Usage = Command.Usage({category: `Constraints-related commands`,description: `print the source code for the constraints`,details: `This command will print the Prolog source code used by the constraints engine. Adding the \`-v,--verbose\` flag will print the *full* source code, including the fact database automatically compiled from the workspace manifests.`,examples: [[`Prints the source code`,`yarn constraints source`,], [`Print the source code and the fact database`,`yarn constraints source -v`,]],})

Methods

execute

  • execute(): Promise<void>

Generated using TypeDoc