Skip to main content

maybe_run_standard_command

Function maybe_run_standard_command 

Source
pub fn maybe_run_standard_command<T, D, C>(
    spec: &ToolSpec,
    command: Option<&C>,
    json: bool,
    doctor: Option<&D>,
) -> Option<i32>
Expand description

Run a mapped standard command when a tool exposes one.