Primary Tool Page

kcli

kcli has a single primary page plus one page per language workspace. The sections below are built from the canonical markdown already checked into the relevant repos.

1 markdown sections
QM-Code/ktools primary repo
HTML static output

kcli

ktools/docs/kcli.md

kcli 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:

  • ktrace exposes trace controls through CLI integration
  • kconfig uses 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.