cli-dispatch-is-flat-dict-lookup

IN premise

CLI dispatch uses a flat `commands` dict mapping subcommand strings to `cmd_*` handler functions — no plugin system or subclass hierarchy.

Summary

The CLI routes commands through a simple dictionary that maps command names directly to handler functions. This means adding or changing commands is straightforward but there is no extension mechanism — all commands must be defined in one place, and there is no way for external code to register new ones.

Dependents

These beliefs depend on this one:

Details

Sourceentries/2026/04/29/reasons_lib-cli.md