Skip to main content

check_pr_command_prerequisites

Function check_pr_command_prerequisites 

Source
pub fn check_pr_command_prerequisites(
    model_override: Option<&str>,
) -> Result<AiCredentialInfo>
Expand description

Combined preflight check for PR creation

Validates:

  • Git repository access
  • AI credentials
  • GitHub CLI availability and authentication

Returns information about the AI provider that will be used.