── 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

FlagTypeDescription
--non-interactiveboolSkip the wizard, use flags for config
--namestringProject name
--langstringLanguage: go, node, python, java, rust
--providerstringCloud: aws, gcp, azure, none
--cistringCI: github-actions, gitlab-ci, none
--monitoringstringMonitoring: prometheus, none
--dbstringDatabase: postgres, mysql, mongo, redis, none
--from-gitstringClone a git URL and auto-detect + scaffold the cloned repo

## Examples

Interactive mode

bash
exo init

Non-interactive (CI/CD)

bash
exo init --non-interactive \
--name=api-gateway \
--lang=go \
--provider=aws \
--ci=github-actions \
--monitoring=prometheus \
--db=postgres

Bootstrap from an existing git repository

bash
# Clone repo, auto-detect stack, launch wizard pre-filled
exo init --from-git https://github.com/org/my-service
# Fully non-interactive from git
exo 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.