standpoint.cli module

Standpoint’s command line (console command standpoint).

One door, built with click: a positional table plus the flags that steer the map – which option leads, where the files land, which criteria are lower-is-better, which local model names the axes. Nothing is computed here: standpoint.run builds the positioning, prints the summary and writes the deliverable. This module is argument parsing and error presentation only, which is why the library (standpoint/__init__.py) imports no command-line framework at all.

standpoint.cli.main()[source]

Console entry point (standpoint).

click’s own main() only special-cases ClickException/Abort (and a broken pipe); a plain library exception from standpoint.run would otherwise propagate as a raw Python traceback instead of a clean CLI error. This wraps the whole invocation and translates that last case into a one-line stderr message + exit 1 — click’s own control flow (usage errors, --help, an explicit sys.exit in a subcommand) already raises SystemExit, a BaseException this does not catch, so it passes through untouched.

Return type:

None