pub fn handle_generate_commit_msg(
config: CommitGenerationConfig<'_>,
) -> Result<()>Expand description
Handles the --generate-commit-msg command.
Generates a commit message for current changes using the standard pipeline.
Uses the same generate_commit_message() function as the main workflow,
ensuring consistent behavior with proper fallback chain support and logging.
§Arguments
config- The pipeline configurationregistry- The agent registrylogger- Logger for info/warning messagescolors- Color configuration for outputdeveloper_agent- Name of the developer agent to use (for commit generation)_reviewer_agent- Name of the reviewer agent (not used, kept for API compatibility)
§Returns
Returns Ok(()) on success or an error if generation fails.