pub fn check_github_cli(repo_root: &Path) -> Result<()>Expand description
Validates that GitHub CLI is available and authenticated.
This checks:
ghCLI is installed and in PATH- User is authenticated (can access the current repo)
Use this at the start of commands that require GitHub API access.
repo_root anchors the repository-access probe to the injected repository
rather than the process current working directory.