DEV Community

Cover image for The small things
VX
VX

Posted on Edited on Originally published at vznjs.github.io

The small things

Mistype a flag or a task and vx tells you the fix. These are the
answers you see a hundred times a day.

Real output · demo workspace · vx 69617eb · 2026-10-23

A typo gets the right spelling

$ vx run build --concurency 4
✗ vx run  unknown flag: --concurency

  see vx run --help

  fix  --concurrency

$ vx run tset --all
✗ vx run  no projects declare task(s): tset

  fix  test
Enter fullscreen mode Exit fullscreen mode

A task typed as a command gets the command

$ vx build --all
✗ vx  `build` is a task here, not a command

  fix  vx run build --all

$ vx biuld
✗ vx  unknown command: biuld, a typo of the task `build`

  fix  vx run build
Enter fullscreen mode Exit fullscreen mode

No task? You get a picker

In a terminal, vx run with no task lets you pick one from the project
you are in. In a script or an agent it never waits on a prompt. It
lists the tasks instead:

$ vx run < /dev/null
✗ vx run  missing task name (stdin is not a TTY, so no picker; tasks here: build, check, e2e, flip, notes, plain, slow, test)

  see vx run --help
Enter fullscreen mode Exit fullscreen mode

Tab completes every verb and flag

vx completions prints a script for bash, zsh or fish. It includes the
verbs your plugins add.

eval "$(vx completions bash)"                          # this shell
vx completions zsh > ~/.zfunc/_vx                      # zsh, with ~/.zfunc on $fpath
vx completions fish > ~/.config/fish/completions/vx.fish
Enter fullscreen mode Exit fullscreen mode

Reference: the CLI. More at
vznjs.github.io/vx.


Originally published on the vx blog. vx is open-source (MIT) task orchestration with a build cache: vznjs.github.io/vx · GitHub.

Written with AI assistance.

Top comments (0)