kcli
ktools/docs/kcli.mdkcli is the command-line parsing layer in the ktools stack.
It is designed around a model where both applications and reusable libraries may contribute CLI behavior without collapsing everything into one global option namespace.
Shared Design
Across languages, kcli generally provides:
- a top-level parser for ordinary options
- an inline parser concept for namespaced roots such as
--trace-*or--config-* - aliases, positional handling, and structured help output
- validation before handler execution
Why It Matters
kcli is the foundation that the higher layers build on:
ktraceexposes trace controls through CLI integrationkconfiguses it for configuration overrides- applications can compose library-supplied parsers without flattening their behavior
Language Pages
The language-specific pages show the canonical markdown from each implementation workspace, including API guides and behavior notes where they already exist.