pub fn log_into_github() -> Result<()>Expand description
Ensures the user is authenticated with the GitHub CLI.
Runs gh auth status; if not authenticated it invokes an interactive gh auth login.
ยงErrors
- Checking auth status fails.
- The login command fails or exits with a non-zero status.