# cdx usage flag

## Goal

Add `cdx --status` and `cdx --usage` so the CLI can print the current live usage limits for the resolved default Codex account.

## Design

- Keep `cdx.py` thin. Implement the flag in `CommandRouter`, where default-account resolution already lives.
- Reuse `AccountHealthClient.fetch(account_home)` for the live query. This is the same code path the systray uses when it refreshes menu limit data.
- Do not invent a second network client and do not scrape cached health data for this flag. The cache remains for routing; the new flag performs a live check.
- Reuse the tray progress-row formatting logic so the CLI prints the same 5-hour and 7-day remaining-limit rows.

## Behavior

- `cdx --status` and `cdx --usage` are synonyms.
- Resolve the account exactly as normal `cdx` routing does, including tray-selected default behavior and explicit `--account` / `--profile` override.
- On success, print:
  - the resolved slug
  - the live 5h row
  - the live 7d row
- If live usage cannot be read or required limit fields are absent, exit `1` and print a short error to stderr.

## Testing

- Add CLI tests that verify:
  - live fetch is called for the resolved selected-default account
  - successful output includes both formatted limit rows
  - unavailable live usage returns exit `1`
