pub fn get_or_default_config_ini_path() -> StringExpand description
Returns the config path from CLI arguments or the default path.
Internal helper function that parses CLI arguments using UserInput and
returns either the provided --config-ini path or the default configuration
file location.
§Returns
- CLI path if
--config-iniwas provided - Default path (
~/.config/rusty-commit-saver/rusty-commit-saver.ini) otherwise
§Called By
This function is called internally by retrieve_config_file_path().
§See Also
get_default_ini_path()- Constructs the default configuration path