mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-10 14:27:00 -04:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_memory.py | ||
| test_utils.py | ||