monoscope/cli
Anthony Alaribe 971221193d
CLI: UTF-8 output under any locale; --assert fails on undecodable responses (#782)
* CLI: write stdout/stderr as UTF-8 so help survives a C locale

Under LC_ALL=C (minimal Linux images) GHC's handles are ASCII, so help
pages with — or → printed the usage line and exited 1. The binary help
sweep now runs under LC_ALL=C and asserts the non-ASCII lines.

* CLI: metrics query --assert fails when the response does not decode

A response that isn't a metrics result skipped the assertion and exited 0,
so a CI gate built on --assert passed silently. It now exits 1.
History 2026-11-02 17:40:02 +01:00
..
CLI CLI: UTF-8 output under any locale; --assert fails on undecodable responses (#782) 2026-11-02 17:40:02 +01:00
exe Split the CLI into its own package so it no longer needs libpq 2026-08-06 01:17:03 +02:00
test Fix the trace waterfall's parent linking, logfmt escaping, and the 90d scan 2026-08-06 16:46:48 +02:00
CHANGELOG.md Prepare CLI v0.6.31 and fix installed-version detection (#669) 2026-10-10 23:40:42 +02:00
monoscope-cli.cabal Prepare CLI v0.6.31 and fix installed-version detection (#669) 2026-10-10 23:40:42 +02:00