Configuration
ccode.yaml is the workspace contract.
Example
Section titled “Example”ccode_path: ccodeversion: v0.1.0output_path: .hidden_path: .ccodeccode_path is where process source, templates, specs, data, instructions, and generated support files live. Default: ccode.
version is required. The wrapper uses it to choose the release binary for the workspace.
output_path is the root path where generated artifacts are written. Default: ..
hidden_path is the internal state/build folder. Default: .ccode.
Resolution
Section titled “Resolution”ccode_pathis resolved relative to the config file directory.output_pathis used as written. Relative values resolve from the directory where the CLI runs.hidden_pathdefaults to.ccode. When relative, the runtime resolves it underccode_path.
Precedence
Section titled “Precedence”Runtime config values are assembled in this order:
- Built-in defaults
ccode.yaml- Environment variables
- CLI flags
Environment overrides
Section titled “Environment overrides”CCODE_CCODE_PATH=ccodeCCODE_OUTPUT_PATH=.CCODE_HIDDEN_PATH=.ccodeCLI overrides
Section titled “CLI overrides”ccode --config ./ccode.yaml run api/generateccode --ccode-path ./generators run api/generateccode --output-path ./out run api/generate