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.

bash
brainbase login
brainbase login --web https://new.usekafka.com
FlagDefaultDescription
`--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.

bash
brainbase logout

brainbase whoami

Print the current user. Exits non-zero if you're not signed in or the session has expired.

bash
brainbase whoami