Skip to main content

add_custom_cli

Function add_custom_cli 

Source
pub fn add_custom_cli(
    name: &str,
    command: &str,
    display_name: Option<&str>,
) -> Result<(), PawError>
Expand description

Adds a custom CLI to the global config.

If command is not an absolute path, it is resolved via PATH using which.