Imports:
  - Types:
      - InitLogic
      - Questionnaire
      - FileGenerator
    Usages:
      - init-usage
    From: goga/init

Usages:
  click: .goga/usages/cooks/click.md
  conventions: .goga/usages/conventions.md

Annotations: |
  The `conventions` practice is used for:
  - working with the codebase
  - organizing the REPL development cycle
  - debugging and testing
  - organizing test infrastructure
  - understanding general development and testing principles/rules in the project
  Use the `click` practice to create the command.
  The command delegates business logic through `InitLogic`.
  Use `init-usage` from Imports to understand the InitLogic API.

---

"init()":
  location: init.py
  annotations: |
    CLI wrapper for the initialization command. Delegates business logic to `InitLogic`.

    Algorithm:
    1. Create `Questionnaire` and `FileGenerator`
    2. Create `InitLogic`(questionnaire, generator)
    3. Call `InitLogic`.run()
    4. Return exit_code

---

Author: Goga
CreatedAt: 03/06/26
Description: |
  CLI wrapper for the interactive goga project initialization command
