context init
The init command creates the directory structure and configuration files for a new ContextKit project.
context initOptions
Section titled “Options”| Option | Description | Default |
|---|---|---|
--dir <path> | Root directory for the project | . (current directory) |
Examples
Section titled “Examples”Initialize in current directory
Section titled “Initialize in current directory”context initInitialize in a new directory
Section titled “Initialize in a new directory”context init --dir my-projectWhat it creates
Section titled “What it creates”context/├── models/ # OSI semantic model files├── governance/ # Ownership, trust, security, semantic roles├── glossary/ # Business term definitions└── owners/ # Team ownership records
contextkit.config.yaml # Project configurationWhen to use
Section titled “When to use”Use init when you want to create the project structure manually before connecting to a database. For a fully guided experience that also introspects your database and scaffolds metadata, use context setup instead.
Next steps
Section titled “Next steps”- Connect to a database with
context introspect - Or run the full wizard with
context setup