Skip to main content

apply

Function apply 

Source
pub fn apply(
    env_vars: &mut HashMap<String, String>,
    provider: &str,
    messaging_on: bool,
)
Expand description

Turn the CLI’s messaging off in a launch environment: a Claude agent’s, when the setting is off. It overwrites what the environment already carries (a persisted cmd:env), as the setting is the only way to turn it back on. Any other provider’s launch is left alone.