Skip to content

Conversation

@dstengle
Copy link
Owner

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

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>
@dstengle dstengle closed this Sep 11, 2025
@dstengle dstengle reopened this Sep 11, 2025
@dstengle dstengle merged commit 5390a2b into main Sep 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants