cli-is-pure-formatter

IN premise

Every cmd_* function delegates to api.* and only formats the returned dict for terminal output; no business logic lives in the CLI layer.

Summary

The command-line interface is a thin presentation layer. Each CLI command calls into the API module to do the real work, then just formats whatever comes back for display in the terminal, meaning you can safely swap out or test the API layer independently without worrying about hidden logic in the CLI handlers.

Dependents

These beliefs depend on this one:

Details

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