pub fn config_set_command(key: &str, value: &str, global: bool) -> Result<()>Expand description
Set a configuration value.
Sets a single configuration key to the specified value, with immediate validation. Creates the config file if it doesn’t exist.
§Arguments
key- The configuration key to set (e.g., “review”, “commit”)value- The value to set (booleans: “true”/“false”, strings as-is)global- If true, sets in global config; otherwise in project config
§Returns
Ok(())on successErr(Autom8Error)if the key is invalid, value is invalid, or validation fails