── CLI REFERENCE ──
exo init
Initialize a new Exo project with an interactive wizard or non-interactive flags.
## Synopsis
bash
exo init [flags]## Description
The init command is the primary entry point for bootstrapping a project. It performs three steps:
1.Detect — Scans the current directory for language markers (go.mod, package.json, etc.)
2.Prompt — Launches a 7-step Bubble Tea wizard for project configuration
3.Render — Generates all selected infrastructure files via templates
## Flags
| Flag | Type | Description |
|---|---|---|
--non-interactive | bool | Skip the wizard, use flags for config |
--name | string | Project name |
--lang | string | Language: go, node, python, java, rust |
--provider | string | Cloud: aws, gcp, azure, none |
--ci | string | CI: github-actions, gitlab-ci, none |
--monitoring | string | Monitoring: prometheus, none |
--db | string | Database: postgres, mysql, mongo, redis, none |
--from-git | string | Clone a git URL and auto-detect + scaffold the cloned repo |
## Examples
Interactive mode
bash
exo initNon-interactive (CI/CD)
bash
exo init --non-interactive \ --name=api-gateway \ --lang=go \ --provider=aws \ --ci=github-actions \ --monitoring=prometheus \ --db=postgresBootstrap from an existing git repository
bash
# Clone repo, auto-detect stack, launch wizard pre-filledexo init --from-git https://github.com/org/my-service# Fully non-interactive from gitexo init --from-git https://github.com/org/my-service \ --non-interactive --name=my-service --provider=aws## Generated Files
Depending on selections, init generates: .exo.yaml, Dockerfile, infra/, k8s/, charts/, .github/workflows/, monitoring/, docker-compose.*.yml, Makefile, .env.example, .gitignore, grafana_dashboard.json, and alerts.yml.