Skip to main content

config_reset_command

Function config_reset_command 

Source
pub fn config_reset_command(global: bool, yes: bool) -> Result<()>
Expand description

Reset configuration to default values.

Resets the specified config file to default values. Prompts for confirmation before resetting (unless --yes is used).

§Arguments

  • global - If true, resets global config; otherwise resets project config
  • yes - If true, skips confirmation prompt

§Returns

  • Ok(()) on success
  • Err(Autom8Error) if the reset fails or user cancels