Rulesify CLI v0.3.0
Installation
curl -fsSL https://raw.githubusercontent.com/ydeng11/rulesify/v0.3.0/install.sh | sh
Changelog
[0.3.0] - 2025-01-09
Added
- 馃殌 Shell Completion Support: Interactive tab completion for enhanced CLI user experience
- Universal Shell Support: Completion scripts for bash, zsh, fish, and PowerShell
- Intelligent Command Completion: Context-aware suggestions for commands, subcommands, and options
- Automated Installation:
install.sh script automatically sets up completion for detected shell
- Manual Generation:
rulesify completion <shell> command for custom installation
- Comprehensive Testing: Full test coverage for all shell types and error scenarios
Enhanced
- Installation Script: Enhanced with automatic shell completion setup
- Detects user's shell (bash, zsh, fish)
- Installs completion scripts in appropriate system locations
- Configures shell profiles for immediate availability
- Provides fallback options for non-standard configurations
- User Experience: Significantly improved CLI usability with discoverable commands and options
- Error Handling: Proper validation and error messages for unsupported shells
Technical Improvements
- Added
clap_complete dependency for robust completion generation
- Implemented
completion.rs command module with clean architecture
- Updated CLI help text to include completion examples
- Enhanced integration tests with comprehensive completion validation
- Zero breaking changes - fully backward compatible
Documentation
- Updated README.md with completion installation instructions
- Added completion usage examples in CLI help text
- Documented shell-specific installation paths and procedures