Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConstraintsQueryCommand

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`,})

query

query: string = Option.String()

Static paths

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

Static usage

usage: Usage = Command.Usage({category: `Constraints-related commands`,description: `query the constraints fact database`,details: `This command will output all matches to the given prolog query.`,examples: [[`List all dependencies throughout the workspace`,`yarn constraints query 'workspace_has_dependency(_, DependencyName, _, _).'`,]],})

Methods

execute

  • execute(): Promise<0 | 1>

Generated using TypeDoc