Hwaro::CLI::Runner
Inherits Reference / Object
Constructors
Class methods
Strip --quiet / -q from argv and enable Logger.quiet when present.
Mutates the given array in place so subsequent parsers don't see it.
Emit a classified error in either the quiet/JSON machine shape or the
human-friendly Error [CODE]: message form. JSON mode is detected
from Runner.json_mode? (set by commands that saw --json) or from
the raw ARGV (unknown-command path, before any parser runs).
Enable JSON output mode: silence human log lines and flag json_mode so
error/output payloads emit machine JSON. Call when a command parses
--json.
Write a concise unknown-command error to stderr with an optional
"Did you mean" suggestion. Intentionally avoids dumping the ASCII
banner or full command list — users can run hwaro --help for that.