hiraiship login & logout
login
Logs the CLI in by approving a one-time code in the dashboard.
| Option | Description |
|---|---|
--no-browser | Print the approval URL without opening a browser. |
The code expires after 10 minutes; run login again if it does. Logging in again replaces the stored login for that API URL. See Authentication.
logout
Revokes the CLI's session and forgets it.
The session is revoked on Hiraiship's side first, then removed from your machine. If Hiraiship can't be reached, the local login is removed anyway, and the CLI says the session couldn't be revoked: revoke it from the dashboard's account security settings.
logout only affects the stored login. A token passed with --token or HIRAISHIP_TOKEN stays valid: revoke an API key from the workspace's settings.