pub fn write_config_value_to_file(
    key: &str,
    value_str: &str,
    path: &Path
) -> Result<(), CommandError>