reasons-cli-entrypoint-is-cli-main
IN premise
The `reasons` CLI command is registered as `reasons_lib.cli:main` via `[project.scripts]` in pyproject.toml — changing that function's signature or module location breaks the installed command.
Summary
The installed `reasons` command points directly at the `main` function in `reasons_lib/cli.py`. If that function gets renamed, moved to a different module, or has its call signature changed, the command-line tool will stop working entirely after reinstallation. This is a hard coupling between the package metadata and that specific code location.
Details
| Source | entries/2026/05/11/pyproject.md |