pub fn run_cli(all: bool, json: bool) -> i32Expand description
ai-usagebar detect [--all] [--json]: one-shot local credential detection
as a command, so any frontend (or the user) can run it at startup.
Uses the real config and state paths — tests go through
run_once_with and format_report instead.