Init
Interactive project initialization, with optional template scaffolding.
The init domain turns an empty directory into a goga project. Which tasks it solves:
- Configure a project —
goga initwalks an interactive questionnaire: the language, the container image, the agents, the initial.goga/config.ymlsections, the optional Dockerfile — and writes.goga/config.yml(plus the Dockerfile) from the answers. - Scaffold from a template —
goga init <template-url>starts from a copier repo template (optionally pinned with#refor--ref) and then asks only the questions the template left open. - Migrate a scaffolded project —
goga init --upgrademigrates an existing scaffolded project to the current generator version.
In this directory
- CLI — the full
goga initcommand reference - Configuration — the domain writes (not reads) the configuration
- Hooks — hook points for tool packages
- API — the
goga.onboardingpackage facade