Documentation Index
Fetch the complete documentation index at: https://docs.cirron.com/llms.txt
Use this file to discover all available pages before exploring further.
cirron auth
Authenticate with Cirron, manage your API token, and check authentication status.Subcommands
cirron auth login— Log in with your Cirron API tokencirron auth logout— Log out and remove your tokencirron auth status— Check current authentication statuscirron auth refresh— Refresh your authentication token
Usage
Subcommand Details
Login
Authenticate with your Cirron API token. You can provide the token as an option or interactively.| Option | Description | Default |
|---|---|---|
--token | API token for authentication | Prompted |
--url, -u | API URL | https://app.cirron.com |
Example
Logout
Log out and remove your API token from the local configuration.Example
Status
Check your current authentication status, user info, and token expiry.Example
Refresh
Refresh your authentication token without re-entering credentials.Example
Authentication Flow
- Login: Stores your API token in the local config after verifying with the Cirron API.
- Logout: Removes the token from your config.
- Status: Checks token validity, user info, and expiry.
Troubleshooting
- Invalid Token: If your token is invalid or expired, you’ll be prompted to re-authenticate.
- Not Authenticated: If not logged in, most project commands will fail until you authenticate.
- Token Expiry: Status will warn you if your token is expiring soon.
Best Practices
- Use
cirron auth loginbefore running project commands. - Use
cirron auth logoutif you need to switch accounts or remove credentials. - Check
cirron auth statusif you encounter authentication errors.