Skip to main content

cast login

Authenticate with Castari via browser-based OAuth.

Usage

What Happens

  1. Opens your default browser to Castari login page
  2. You sign in (or create an account)
  3. Browser redirects back, CLI captures the token
  4. Credentials saved to ~/.castari/credentials.json

Output

Options

Headless Authentication

For CI/CD or headless environments:
This prints the URL for manual authentication.
For automated environments, use an API key instead of OAuth. See Environment Variables.

cast logout

Clear stored credentials.

Usage

Output

This deletes ~/.castari/credentials.json.

cast whoami

Show the currently authenticated user.

Usage

Output

If not logged in:

See Also