standpoint.click_cli module

Click entry point (console command standpoint-click).

A friendlier CLI that mirrors the argparse one; both share standpoint.run.

standpoint.click_cli.main()[source]

Console entry point (standpoint-click).

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