Errors that say the fix
Errors that say the fix
A refusal under --format json now links the fix for its code, and vx docs <code> prints the same fix offline.
A typo gets the right spelling. A task typed as a command gets the command. No task opens a picker. Tab completes every verb and flag. The parts of a tool you meet a hundred times a day.
Speed is the headline. The small things are what you meet a hundred times a day. Every answer below is real vx output from a four-package workspace.
$ vx run build --concurency 4vx run: unknown flag: --concurency (did you mean --concurrency?) (see `vx run --help`)
$ vx run tset --allvx run: no projects declare task(s): tset. Did you mean test?$ vx build --allvx: `build` is a task here, not a command: vx run build --all
$ vx biuldvx: unknown command: biuld; did you mean the task `build`? vx run build --allIn a terminal, vx run with no task lists the tasks of the project you
are in, to pick one. Off a terminal, for a script or an
agent, it never waits on a prompt. It names the tasks instead:
$ vx run < /dev/nullvx run: missing task name (stdin is not a TTY, so no picker; tasks here: build, test) (see `vx run --help`)flowchart LR IN["what you typed"] --> OK["runs"] IN --> FIX["a typo: the right spelling"] IN --> CMD["a task as a verb: the command"] IN --> PICK["no task: a picker, or the list"] style FIX stroke:#c6f84e,stroke-width:2px
vx completions prints a script for bash, zsh or fish. It completes
every verb, the plugin verbs your workspace adds, and every flag:
eval "$(vx completions bash)" # this shellvx completions zsh > ~/.zfunc/_vx # zsh, with ~/.zfunc on $fpathvx completions fish > ~/.config/fish/completions/vx.fishLearn more: the CLI reference, Task picker and Shell completions.