pub fn handle_project_config_command(
common: &CommonParams,
model: Option<String>,
token_limit: Option<usize>,
param: Option<Vec<String>>,
print: bool,
) -> Result<()>
Expand description
Handle the ‘project-config’ command
Creates or updates a project-specific configuration file (.irisconfig) in the repository root. Project configurations allow teams to share common settings without sharing sensitive data like API keys.
§Security
API keys are never stored in project configuration files, ensuring that sensitive credentials are not accidentally committed to version control.
§Arguments
common
- Common parameters from command linemodel
- Optional model to set for the selected providertoken_limit
- Optional token limit to setparam
- Optional additional parameters to setprint
- Whether to just print the current project config
§Returns
Result indicating success or an error