Skip to main content

Module cli

Module cli 

Source
Expand description

The command line: arguments, the pipeline they drive, and the exit codes.

Cargo invokes an external subcommand as cargo-critpath critpath <args>, so a leading critpath word is accepted and skipped. Everything is written to a caller-supplied stream rather than to the process’s own, which is what lets the tests read the output back.

Enums§

Outcome
What the tool did, and the exit code that says so.

Functions§

run
Runs the tool, writing its report to out and anything that went wrong to err.