Expand description
Init Command - Initialize a new ggen project
ggen init scaffolds a minimal, working ggen project with hardcoded files.
Creates directory structure and seed files that can be customized.
§BIG BANG 80/20 Screening Gate
Before initialization, users must confirm they have:
- Real user data (CSV/JSON, not promised)
- Found an existing standard ontology (schema.org, FOAF, Dublin Core, SKOS)
- Clear problem articulation (one sentence, no 100-page docs)
- Market signal (email list, beta users, commitment - not enthusiasm)
- Speed validation plan (can validate with 10 users in 48 hours)
This prevents Seth-like patterns: custom ontologies, 3-month research cycles, zero market validation.
§Atomic Initialization
Uses FileTransaction for atomic file operations with automatic rollback on failure. Either all files are created successfully, or no changes are made.
Structs§
- Init
Output - Output for the
ggen initcommand - Transaction
Info - Transaction information for atomic init operation
Functions§
- init
- Initialize a new ggen project with default structure and scripts.