Module cmd

Module cmd 

Source
Expand description

Command execution helpers.

All tasks use run to execute external processes. It prints the command before running it (for CI log visibility) and converts non-zero exit codes into descriptive anyhow::Error values so callers can use ?.

Functionsยง

build_command ๐Ÿ”’
check_status ๐Ÿ”’
output
Runs an external command and captures its stdout as a String.
run
Runs an external command, streaming its output to the terminal.