feat(cli-hub): add install-all command with per-CLI status#288
feat(cli-hub): add install-all command with per-CLI status#288RachelXiaolan wants to merge 4 commits into
Conversation
|
A few items before this can land:
|
…-force Changes for cli-hub/cli_hub/cli.py
…-force Changes for cli-hub/cli_hub/installer.py
…-force Changes for cli-hub/tests/test_cli_hub.py
|
Thanks for the thorough review @omerarslan0! All five points addressed in the latest push: 1. Dead code removed. 2. Skip already-installed. New default behavior: 3. Bundled CLIs → 4. Patch targets confirmed. 5. Narrowed exception. Changed from bare New tests added: |
Summary
Adds
cli-hub install-allcommand that installs all available CLIs from the registry with per-CLI status reporting.Closes #235
What changed
cli_hub/cli.py: Newinstall-allcommand that iterates through the full registry, shows progress ([1/N] GIMP (gimp)... ✓), and reports a summary at the end.cli_hub/installer.py: Newinstall_all()helper function.tests/test_cli_hub.py: 4 new tests covering all-success, partial failure, empty registry, and fetch failure scenarios.Behavior
Test plan
python -m pytest cli-hub/tests/test_cli_hub.py -v)