Skip to main content

validate_exec_profile_command

Function validate_exec_profile_command 

Source
pub fn validate_exec_profile_command(
    profile: &str,
    command: &[String],
) -> Result<()>
Expand description

Validate a [exec.profiles.<name>] entry’s command: it must be a non-empty argv array. Surfaced for the config validation path so gwm config validate / gwm doctor reject what gwm exec --profile would (issue #324 review).