cgride-cli provides the command line interface for Cgride.
It is the user-facing layer that parses command-line arguments, prints terminal output, loads the project configuration, discovers the C++ toolchain, creates a build request, and delegates build execution to cgride-engine.
The CLI does not own the build graph, command execution, cache storage, or build planning logic.
This module depends on:
cgride::corecgride::configcgride::toolchainscgride::engine
It must not depend directly on:
cgride::graphcgride::executorcgride::cache
Those modules are used behind the engine boundary.
The CLI is responsible for:
- parsing
argcandargv - selecting the requested command
- validating user-facing options
- printing help and version information
- loading
cgride.config - reading the project model
- discovering the local C++ toolchain
- creating engine build options
- calling the build engine
- returning stable process exit codes
cgride helpOr:
cgride --helpcgride versionOr:
cgride --versionFrom the module directory, use the Vix workflow:
vix buildFor a release build:
vix build --preset releaseFor detailed build output:
vix build -vvix check --testsOr run the test command directly:
vix testsvix installThe install step provides the cgride executable, the cgride::cli integration target, public headers, and package metadata.
After installation, C++ integrations can use the installed Cgride CLI library target from their project build configuration.