Expand description
vivacity: a fast, Composer-compatible installer. stdout: nothing for now (reserved for machine-readable output); all narrative goes to stderr. Exit codes: 0 ok, 1 runtime error, 2 usage (clap), 3 out of scope with no fallback possible, 4 platform.
The vivacity binary is just a call to run: another program can
embed the commands as they are (vivacity::run(["vivacity", "install", …]))
and get the same exit code.
Functions§
- run
- Run a vivacity command line (
args[0]is the program name, as instd::env::args()), runtime errors included: the return value is the binary’s exit code. A usage error (clap) prints the help or the message and returns 2;--help/--versionreturn 0.