Skip to main content

validate_command_output

Function validate_command_output 

Source
pub fn validate_command_output(
    command: &Commands,
    output: &CommandOutput,
) -> Result<()>
Expand description

Rejects a result path that aliases an input or artifact used by command.

Parent CLIs should call this during argument validation for early errors. run_command also calls it before dispatch so library users receive the same protection.