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 status
Check the status of your Cirron project, including local git/build status and remote deployment status.Usage
Options
| Option | Description | Default |
|---|---|---|
--remote, -r | Show remote deployment status | false |
What It Shows
- Local Status
- Current git branch
- Git status (clean or uncommitted changes)
- Last build status (success based on output directory existence)
- Remote Status (with
--remote)- Last deployment status (success/failed/pending)
- Deployment environment and timestamp
- Deployment URL (if available)
- Environments
- List of configured environments and their deployment status
Examples
Check Local Status
Check Local and Remote Status
Output
- Local status includes git branch, build status, and uncommitted changes
- Remote status shows the most recent deployment (limit: 1)
- Environments section shows deployment status for each configured environment
Example Output
How It Works
Local Status Check
- Git Status: Uses
git status --porcelainto check for uncommitted changes - Current Branch: Uses
git branch --show-currentto get the active branch - Build Status: Checks if the configured
outputDirexists in the project - Git Repository: Gracefully handles cases where git is not available or not a git repo
Remote Status Check
- Authentication: Requires valid API token to fetch remote data
- Last Deployment: Fetches only the most recent deployment (limit: 1)
- Environment Status: Shows deployment status for environments that match the last deployment
- Error Handling: Silently fails if remote status cannot be fetched
Environment Display
- Shows all configured environments from
cirron.yaml - Displays deployment status for environments that match the last deployment
- Shows environment URLs if configured
Troubleshooting
- No cirron.yaml: Run
cirron initto create a project config. - Not Authenticated: Run
cirron auth loginto authenticate for remote status. - Not a Git Repo: Local status will skip git info if not in a git repository.
- No Deployments: Remote status will show ‘No deployments found’ if none exist.
- Build Status Unknown: Build status is based on output directory existence, not actual build success.
Best Practices
- Use
statusbefore deploying to check for uncommitted changes - Use
--remoteto verify last deployment before pushing updates - Check environment URLs for correct deployment targets
- Ensure your
cirron.yamlhas proper build configuration for accurate build status