Skip to content
GitHubBlueskydev.toRSS

09CLI reference

vx help

vx help prints every verb’s usage line and the run flags. vx help <verb> (also vx <verb> --help or -h) prints that verb’s usage and sections:

Terminal window
vx help lock
Terminal window
vx — task orchestration you own
Usage:
vx lock [--check] [--format pretty|json]
Config lock:
vx lock Evaluate every vx.config in the current environment, check
the graph rules (run.rules) and freeze the resolved objects
into .vx/projects.lock, the only place a run reads configs
from. A run never evaluates one, never checks the rules
and never writes the lock: with none it fails.
vx lock --check Audit the lock: re-evaluate every config here and compare
it with the frozen object, find a config added or gone, and
check the graph rules. Exits 1 on drift (e.g. configs that
read env vars). Run it before the run in CI. With --format json
it prints {upToDate, audited, notAudited, problems}.
Full reference: vx help

It paints only on a terminal, so a script that greps it reads plain text. A plugin verb answers its own --help.

Exit codes: 0 the help printed; 1 a name that is no verb, with the nearest one when close.

Prints the vx that runs (vx --version too):

Terminal window
vx version
Terminal window
vx 0.0.0

A source checkout prints 0.0.0. Which vx runs says which binary that is.

Exit codes: 0.

Turborepo, Nx and other product names are trademarks of their owners. vx is not affiliated with or endorsed by them.