hype auth
The auth command manages your CLI authentication.
Subcommands
Section titled “Subcommands”hype auth login
Section titled “hype auth login”Authenticate via browser. Opens an OAuth flow. The token is saved automatically when you approve.
hype auth loginStarts a local HTTP server to receive the callback. If the browser doesn’t open automatically, copy the URL from the terminal. Times out after 2 minutes.
hype auth token <token>
Section titled “hype auth token <token>”Set an API token directly. Useful for CI/CD pipelines or scripts.
hype auth token <your-api-token>hype auth status
Section titled “hype auth status”Show current authentication status.
$ hype auth status✓ Authenticated Token: hdoc_xxxx...xxxx Config: ~/.hypedoc/config.jsonIf not authenticated, suggests hype auth login or hype auth token.
hype auth logout
Section titled “hype auth logout”Remove the stored token.
hype auth logout