Skip to main content

run_config_set

Function run_config_set 

Source
pub fn run_config_set(
    path: Option<&str>,
    key: &str,
    value: &str,
    yes: bool,
) -> Result<()>
Expand description

Set a config key to a new value.

ยงErrors

Returns an error if the config cannot be loaded, validation fails, or the key is invalid.