Skip to main content

check_github_cli

Function check_github_cli 

Source
pub fn check_github_cli() -> Result<()>
Expand description

Validates that GitHub CLI is available and authenticated.

This checks:

  1. gh CLI is installed and in PATH
  2. User is authenticated (can access the current repo)

Use this at the start of commands that require GitHub API access.