feat: Remove original CLI and make cli_v2 the default#61
Merged
Conversation
This commit completes the migration from the original CLI to the modern Click-based CLI (previously cli_v2), making it the default and only CLI implementation. ## Changes: ### CLI Migration - Renamed `cli_v2` directory to `cli` (now the default) - Removed original argparse-based CLI implementation - Updated all entry points (`kb` and `kbp`) to use modern CLI ### Code Updates - Updated `pyproject.toml` to point both commands to new CLI - Fixed imports in test files to use new path - Added `__main__.py` for module execution support - Updated `scripts/run_processor.py` with deprecation warning ### Documentation Updates - Completely rewrote README.md with modern CLI commands - Updated ARCHITECTURE_V2.md references - Fixed build-artifacts.yml workflow - Removed CLI_V2_DEMO.md (no longer needed) ### Test Updates - Moved cli_v2 tests to cli directory - Removed old CLI test files - Updated test imports ## Benefits: - 🎨 Rich terminal UI with colors and formatting - 📊 Interactive mode for guided workflows - ⚡ Better performance and error handling - 🔄 Real-time file watching capabilities - 🛠️ Service-oriented architecture The `run_processor.py` script has been kept for backwards compatibility but now shows a deprecation warning directing users to the new CLI. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit completes the migration from the original CLI to the modern Click-based CLI (previously cli_v2), making it the default and only CLI implementation.
Changes:
CLI Migration
cli_v2directory tocli(now the default)kbandkbp) to use modern CLICode Updates
pyproject.tomlto point both commands to new CLI__main__.pyfor module execution supportscripts/run_processor.pywith deprecation warningDocumentation Updates
Test Updates
Benefits:
The
run_processor.pyscript has been kept for backwards compatibility but now shows a deprecation warning directing users to the new CLI.🤖 Generated with Claude Code