Skip to content
vxvx
GitHubBlueskydev.toRSS
Blog

Flags you already know

Type what Turborepo or Nx taught you. vx takes the flag as it is, rewrites it to its own spelling, or answers with the vx way to say it. Nothing is dropped in silence.

Years of turbo run and nx run-many live in your fingers. vx does not ask you to forget them on day one. Every flag either works, is rewritten, or is answered with the command that does it here.

-t, -p, --exclude and Nx’s --skip-nx-cache mean what you expect:

Terminal window
$ vx run build --all --skip-nx-cache --dry
would run:
▶ @demo/api#build cache miss — would exec 32b3a0bf ~326ms
▶ @demo/docs#build cache miss — would exec 1f858edb ~311ms
▶ @demo/ui#build cache miss — would exec 46046abb ~313ms
▶ @demo/web#build cache miss — would exec b25e5bf4 ~310ms
4 task(s) planned, 4 would run.

A flag vx has no use for is never ignored. It is refused with the spelling that does the job:

Terminal window
$ vx run build --parallel
vx run: --parallel (turbo): vx always honours `dependsOn`; `--concurrency <n>` sets how many run at once (see `vx run --help`)

Nx’s verbs and project:target get the same treatment:

Terminal window
$ vx run web:build
vx run: `web:build` is Nx's project:target: vx run @demo/web#build
$ vx run-many -t build
`nx run-many` is `vx run <task> --all` here; -t, -p, --exclude and --parallel work as they are
$ vx affected -t test
`nx affected` is `vx run <task> --affected` here; -t, --base and --exclude work as they are
$ vx graph
`nx graph` is `vx run <task> --graph[=<file>.dot]` here: the task graph as Graphviz DOT

Every row lives in one table, rendered into the CLI reference, and a test drives each row, so the docs and the binary cannot disagree.

Learn more: Turbo and Nx flags and Flags you already know.

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