Command Reference
brainbase auth
Sign in, sign out, and check who you are. See Authentication for credential precedence and PATs.
brainbase login
Open the web app and connect this device. Stores the session at ~/.brainbase/auth.json.
brainbase login
brainbase login --web https://new.usekafka.com
| Flag | Default | Description |
|---|---|---|
| `--web <url>` | `https://new.usekafka.com` | Web app URL to open for the login flow. |
brainbase logout
Clear the local session (~/.brainbase/auth.json). No flags.
brainbase logout
brainbase whoami
Print the current user. Exits non-zero if you're not signed in or the session has expired.
brainbase whoami