@oss-autopilot/core - v1.6.3
    Preparing search index...

    Function requireGitHubToken

    • Returns a GitHub token or throws an error with setup instructions.

      Delegates to getGitHubToken and throws if no token is found. Use this in commands that cannot proceed without authentication.

      Returns string

      The GitHub token string (guaranteed non-null)

      If no token is available, with instructions for gh auth login or setting GITHUB_TOKEN

      const token = requireGitHubToken(); // throws if not authenticated