Skip to main content

handle_init_global

Function handle_init_global 

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

Handle the --init-global flag using the default path resolver.

Creates a unified config file at ~/.config/ralph-workflow.toml if it doesn’t exist. This is a convenience wrapper that uses RealConfigEnvironment internally.

§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.