headroom/tests/cli
chopratejas fb4117f3a6 Add Click-based CLI with memory management commands
Refactor CLI from argparse to Click for better extensibility:
- New headroom/cli/ package with modular command structure
- Memory commands: list, show, stats, edit, delete, prune, purge, export, import
- Rich terminal output with tables, colors, and formatted stats
- Duration parsing for --older-than and --since flags (7d, 2w, 1m)
- Comprehensive tests using Click's CliRunner (55 tests, no mocks)

CLI structure:
  headroom proxy        - Start optimization proxy (migrated from argparse)
  headroom memory ...   - Memory management (new)
  headroom evals ...    - Evaluation commands (migrated, now under evals group)

Backwards compatibility maintained via headroom/cli.py shim.
2026-01-29 21:30:21 -08:00
..
__init__.py Add Click-based CLI with memory management commands 2026-01-29 21:30:21 -08:00
test_memory.py Add Click-based CLI with memory management commands 2026-01-29 21:30:21 -08:00
test_utils.py Add Click-based CLI with memory management commands 2026-01-29 21:30:21 -08:00