CLI commands
Run laminar <command> --help for full options. Most stage commands accept --profile and --region.
Global options
Available on every command:
| --profile <name> | AWS profile (also honors AWS_PROFILE) |
| --region <region> | AWS region (also honors AWS_REGION) |
| --assume-role-arn <arn> | Cross-account: role to assume in the target account |
| --external-id <id> | ExternalId for the assume-role trust policy |
Deploy & operate
| laminar init <name> | Scaffold a project (auto-detects runtime) |
| laminar deploy <stage> | Deploy to a stage (Lambda / Fargate / EC2) |
| laminar destroy <stage> | Tear down all resources for a stage |
| laminar logs <stage> | Show runtime logs; filter with --query, --level, --hours, --type |
| laminar rollback-cmd <stage> | Roll back to the previous version (Lambda + Fargate) |
| laminar invoke-cmd <stage> | Invoke a Lambda function directly |
| laminar scale <stage> | Scale a service (Fargate / Lambda) |
| laminar container <cmd> <stage> | Build/push/list/cleanup container images (Fargate) |
Environment
| laminar env-pull <stage> | Pull env to env/<stage>.env (chmod 600) |
| laminar env-push <stage> | Push local env to SSM / Secrets Manager |
App resources
| laminar storage <provision|upload|ls|download|rm|url> | App-level S3 bucket |
| laminar queues <provision|list|send|purge|delete> | App-level SQS queues |
| laminar caches <provision|list|delete> | ElastiCache Redis |
| laminar databases <provision|list|info|delete> | RDS / Aurora Serverless v2 |
AI agent
| laminar agent diagnose <stage> | Diagnose a failed deploy from logs + status (--slack to post) |
| laminar agent ask "<question>" | Q&A over your deploy state and logs (--stage to scope) |
| laminar agent watch <stage> | Poll a stage for failures and alert (--slack) |
Cloud
| laminar login / logout / whoami | Authenticate to Laminar Cloud |
| laminar link | Connect this project to a cloud project |
| laminar mode local|cloud | Toggle cloud-managed env for this project |
| laminar projects <list|create|delete> | Manage cloud projects |
| laminar orgs <current|switch|members> | Manage cloud organizations |
Other
| laminar add <stage> | Add a stage to laminar.yml |
| laminar environments | List configured stages |
| laminar list-resources <stage> | List created AWS resources |
| laminar backup / restore / list-backups / … | S3 backup management |
| laminar certificate / internal-domain | ACM certs and internal (VPC) domains |
| laminar cleanup <stage> | Clean up conflicting IAM resources |
| laminar config normalize | Normalize laminar.yml key order |
| laminar version | Show the CLI version |
Examples
laminar deploy production --strategy rolling
laminar deploy prod --profile prod-acct --region eu-west-1
laminar rollback-cmd production
laminar logs production --query timeout --level error --hours 6
laminar env-pull production # writes env/production.env (0600)
laminar list-resources productionTip: laminar deploy <stage> is idempotent — run it again to redeploy.