atmn CLI commands with every flag, argument, and default value.
Global Options
These options are available for all commands:Use production environment instead of sandbox
Use localhost:8080 API server instead of api.useautumn.com
Force non-interactive mode (useful for CI/agents)
Path to configuration file
Global Flag Combinations
| Flags | Environment | API Server | Use Case |
|---|---|---|---|
| (none) | Sandbox | Remote | Default development |
-p | Production | Remote | Production deployment |
-l | Sandbox | Local | Local development |
-lp | Production | Local | Local dev with prod data |
Authentication Commands
atmn login
Authenticate with Autumn using OAuth 2.0.
- Interactive: Beautiful OAuth flow with browser integration
- Headless: Opens browser with fallback URL
- Creates: API keys for both sandbox and production
- Stores: Keys in
.envfile
atmn logout
Remove API keys from environment file.
AUTUMN_SECRET_KEY(sandbox)AUTUMN_PROD_SECRET_KEY(production)
atmn env
Display current environment and organization info.
- Organization name and slug
- Current environment (sandbox/production)
- API endpoint being used
Configuration Commands
atmn init
Initialize a new Autumn project with template selection.
- Interactive: Template selection wizard
- Headless: Uses default template
- Templates: OpenAI, T3 Chat, Railway, Linear
- Generates:
autumn.config.tsand optional.env
atmn push
Push local configuration to Autumn.
Automatically confirm all prompts (useful for CI/CD)
- Change analysis and smart prompts
- Production safety guards
- Plan versioning for customers
- Batch operations
atmn pull
Pull configuration from Autumn to local files.
Force overwrite config instead of in-place updates
- Smart in-place updates (preserves local changes)
- SDK type generation
- Multi-environment merging
Data Commands
atmn customers
Browse and inspect customer data.
Run in headless mode (output for scripts/agents)
Page number for pagination (headless mode)
Search query for filtering customers (headless mode)
Get specific customer by ID (headless mode)
Number of customers per page (headless mode)
Output format:
text, json, csv (headless mode)atmn plans / atmn products
Browse and inspect plans/products. Both commands are identical.
Run in headless mode (output for scripts/agents)
Page number for pagination (headless mode)
Search query for filtering plans (headless mode)
Get specific plan by ID (headless mode)
Number of plans per page (headless mode)
Output format:
text, json, csv (headless mode)Include archived plans in results
atmn features
Browse and inspect feature definitions.
Run in headless mode (output for scripts/agents)
Page number for pagination (headless mode)
Search query for filtering features (headless mode)
Get specific feature by ID (headless mode)
Number of features per page (headless mode)
Output format:
text, json, csv (headless mode)Include archived features in results
atmn events
Browse and analyze usage events.
Run in headless mode (output for scripts/agents)
Page number for pagination
Filter events by customer ID
Filter by feature ID (comma-separated for multiple)
Number of events per page
Time range:
24h, 7d, 30d, 90dView mode:
list (individual events) or aggregate (summary stats)Bin size for aggregate mode:
hour, day, monthGroup by property for aggregate mode (e.g.,
customer_id, feature_id)Output format:
text, json, csvUtility Commands
atmn preview
Preview plans from local configuration without API calls.
Preview specific plan by ID (shows all plans if omitted)
Currency code for price display
- Renders pricing tables from
autumn.config.ts - No API calls required
- Useful for local development and testing
atmn dashboard
Open Autumn dashboard in browser.
https://app.useautumn.com(default)http://localhost:3000(with--localflag)
atmn nuke
⚠️ DESTRUCTIVE: Permanently delete all sandbox data.
Skip all confirmation prompts (VERY DANGEROUS)
- Sandbox only - Refuses to run with
--prodflag - Multiple confirmations required
- Visual warnings with red text
- Explicit flag name for dangerous skip option
atmn version / atmn v
Display CLI version.
- Version from
package.json(e.g.,1.0.0-beta.15) "dev"in development environments
Command Examples
Environment Management
Configuration Workflow
Data Export
CI/CD Usage
Exit Codes
All commands return appropriate exit codes:Success - Operation completed successfully
General error - Command failed (network, auth, validation, etc.)
Configuration error - Invalid
autumn.config.ts or missing file
