Skip to content

vow-cli

vow-cli formats CLI flags and --key=value options for grant argv. Install with vpm:

Terminal window
curl -fsSL https://install.vowlang.dev | sh
export PATH="$HOME/.local/bin:$PATH"
vpm add vow-cli
vpm install
import vcli from vow_cli
fn main(caps: Caps) -> int {
print vcli.opt("grant", "db:postgres://localhost/app");
return 0;
}
Terminal window
cd vow-libs/vow-cli && vow test tests/cli.vow