handle_init_global

Function handle_init_global 

Source
pub fn handle_init_global(colors: Colors) -> Result<bool>
Expand description

Handle the --init-global flag.

Creates a unified config file at ~/.config/ralph-workflow.toml if it doesn’t exist. This is the recommended way to configure Ralph globally.

§Arguments

  • colors - Terminal color configuration for output

§Returns

Returns Ok(true) if the flag was handled (program should exit after), or an error if config creation failed.