Objective
Create initialization command that copies sample files to create initial configuration.
Prerequisites
Issue #3 completed (samples/ directory exists)
Implementation Steps
See todos/IMPLEMENTATION.md lines 820-957.
Key Steps:
- Create
commands/__init__.py if needed
- Create
commands/init.py with copy logic:
- Check if already initialized
- Check submodules exist
- Copy samples/env → .env
- Copy samples/traefik.yml → projects/traefik.yml
- Copy samples/secrets/global.txt → secrets/global.txt
- Show helpful next steps
- Update
itsup main CLI to register command
Success Criteria
Estimated Time
2 hours
Objective
Create initialization command that copies sample files to create initial configuration.
Prerequisites
Issue #3 completed (samples/ directory exists)
Implementation Steps
See
todos/IMPLEMENTATION.mdlines 820-957.Key Steps:
commands/__init__.pyif neededcommands/init.pywith copy logic:itsupmain CLI to register commandSuccess Criteria
itsup initcreates .envitsup initcreates projects/traefik.ymlitsup initcreates secrets/global.txtEstimated Time
2 hours