4. Your first project#
Option A — Backend API (FastAPI)#
spawn createProject Name: my-api
? Choose a template (Use arrow keys)
» Backend API
CLI Application
...
? Choose a framework (Use arrow keys)
» fastapi
flask
django
? Select extras (space to toggle, enter to confirm)
○ ruff
○ pytest
○ docker
○ github-actions
? Choose a license (Use arrow keys)
» MIT
None
Initialize Git? [Y/n]: Y
Also generate CLAUDE.md for Claude Code? [y/N]: N╭────── ✨ Project Created Successfully ──────╮
│ │
│ Project my-api │
│ Template Backend API │
│ Git ✓ Enabled │
│ UV ✓ Initialized │
│ Virtual Env ✓ Created │
│ │
│ Next Steps │
│ cd my-api │
│ uv run uvicorn app.main:app --reload │
│ │
╰──────────────────────────────────────────────╯cd my-api
uv run uvicorn app.main:app --reload
# GET http://localhost:8000/ → {"status": "running"}Option B — CLI Application (Typer, utility)#
spawn createProject Name: my-cli
? Choose a template (Use arrow keys)
Backend API
» CLI Application
...
? Choose CLI Type (Use arrow keys)
» utility
interactive
? Choose a framework (Use arrow keys)
» typer
click
argparse
? Select extras (space to toggle, enter to confirm)
○ ruff
○ pytest
○ github-actions
? Choose a license (Use arrow keys)
» MIT
None
Initialize Git? [Y/n]: Y
Also generate CLAUDE.md for Claude Code? [y/N]: Ncd my-cli
uv run python -m src.main helloOption C — Non-interactive (zero prompts)#
spawn create --name my-api --template backend-api --framework fastapi --extras ruff,pytest --license mit --no-gitOr from a JSON config file:
{
"name": "my-api",
"template": "backend-api",
"framework": "fastapi",
"extras": ["ruff", "pytest"],
"license": "mit",
"git": false,
"uv": true
}spawn create --config spawn.jsonUse --dry-run to validate and print the config without creating any files:
spawn create --name my-api --template backend-api --dry-run
# ✓ Config valid
# ProjectConfig(name='my-api', template='backend-api', ...)