Skip to content

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 projectgoga init walks an interactive questionnaire: the language, the container image, the agents, the initial .goga/config.yml sections, the optional Dockerfile — and writes .goga/config.yml (plus the Dockerfile) from the answers.
  • Scaffold from a templategoga init <template-url> starts from a copier repo template (optionally pinned with #ref or --ref) and then asks only the questions the template left open.
  • Migrate a scaffolded projectgoga init --upgrade migrates an existing scaffolded project to the current generator version.

In this directory

  • CLI — the full goga init command reference
  • Configuration — the domain writes (not reads) the configuration
  • Hooks — hook points for tool packages
  • API — the goga.onboarding package facade