Commit a5f5db6
refactor: split cli/commands.py into focused modules
- Extract uninstall functionality to uninstall_commands.py (299 lines)
- UninstallContext dataclass, TOOL_CONFIG_DIRS, NPM_PACKAGE_MAP
- Helper functions for backup, confirmation, and tool removal
- Extract shell completion to completion_commands.py (666 lines)
- Bash and Zsh completion script generation
- Dynamic command/option completion logic
- Reduce commands.py from 1338 to 465 lines
- Core commands: upgrade, install, doctor, version, launch
- Backward-compatible re-exports from new modules
- Fix test_cli.py: add missing keep_config parameter to uninstall tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ee5d02d commit a5f5db6
5 files changed
Lines changed: 1070 additions & 963 deletions
File tree
- code_assistant_manager/cli
- docs/refactoring
- tests
0 commit comments