Skip to main content

run

Function run 

Source
pub fn run<E: Environment>(
    cli: &Cli,
    environment: &mut E,
    output: &mut dyn Write,
) -> Result<(), CliError>
Expand description

Runs a command, and writes what it has to say to output.

ยงErrors

Returns an error if the command fails.