Skip to main content

command_env

Function command_env 

Source
pub fn command_env(
    env: &dyn Fn(&str) -> Option<String>,
) -> Vec<(String, String)>
Expand description

The variables a command of a Spec Kit project gets: the override, set to the installed specify’s own interpreter when it imports PyYAML. env looks up the command’s environment (its PATH finds specify); nothing when the person set the override or its predecessor, or when no such interpreter is found.