Skip to main content

execute

Function execute 

Source
pub async fn execute(
    command: &Command,
    config: &Config,
    env: &BTreeMap<String, String>,
    out: &mut impl Write,
    err: &mut impl Write,
) -> Result<(), AppError>
Expand description

Runs a parsed command.

§Errors

Returns the command’s AppError; commands of later milestones return AppError::NotImplemented.