atmn CLI lets you define your pricing plans in code via an autumn.config.ts file, and sync them to Autumn with a single command.
Installation
Run the CLI directly with your package manager:Login
Authenticate with your Autumn account:.env file:
.env
You can verify your setup at any time with
bunx atmn env, which shows your current organization and environment.Initialize a project
Runatmn init in your project root. It creates an autumn folder for your config:
autumn/autumn.config.ts along with features.ts, plans.ts and rewards.ts beside it, pulls in any plans you’ve already created in Autumn, and installs the Autumn skills for your coding agent. In a monorepo it asks where the folder should go, with packages/autumn as the default. If you haven’t logged in yet, it prompts you to.
Build your pricing using the config reference.
Push and pull
Once you have anautumn.config.ts, sync it with Autumn:
push reads your config file, compares it with what’s in Autumn, and shows a summary of what will be created, updated, or deleted. Run it again with --yes to apply the changes.
pull fetches your plans and features from Autumn and writes them into your local config. If the file already exists, it does a smart in-place update that preserves your local formatting and comments where possible.
Environments
By default, all commands target your sandbox environment. Add the-p flag to target production:
autumn.config.ts.
Configuration reference
Every builder and field available in autumn.config.ts