Wrapper & Versions
The installed ccode command is a wrapper. Its job is to choose the right release binary for the current workspace and execute it.
Version precedence
Section titled “Version precedence”The wrapper resolves versions in this order:
--versionflag- nearest
ccode.yamlversionentry, or the file passed with--config - global pin at
~/.config/ccode/version - latest stable GitHub release
For normal execution, the wrapper does not modify ccode.yaml or the global version file.
Workspace version
Section titled “Workspace version”ccode.yaml must include a version:
version: v0.1.0ccode init writes or updates the version entry and refreshes generated support files for that version.
Pinning
Section titled “Pinning”The wrapper supports:
ccode pinccode pin v0.1.0ccode pin latestccode pin writes the global version file at ~/.config/ccode/version.
Release binaries are cached under:
~/.cache/ccode/releasesThis lets different workspaces use different versions without requiring a separate manual installation per project.