Skip to content

A lightweight cli tool with ai integration for day to day cli help

License

Notifications You must be signed in to change notification settings

kjswaruph/cmdzen

Repository files navigation

CmdZen

A lightweight CLI tool that helps users with Linux commands through AI-powered recommendations, error analysis, and learning opportunities.

🚀 Features

  • Natural Language to Commands: Convert plain English descriptions into Linux commands
  • Command Explanation: Understand what commands do in simple terms
  • Error Analysis: Get explanations and fixes for command errors
  • Linux Distribution Support: Get help specific to your distribution
  • Customization: Create command aliases and personalize your experience

📋 Requirements

  • Java 21 or higher
  • Linux-based operating system

🛠️ Installation

From Source

# Clone the repository
git clone https://github.com/yourusername/cmdzen.git
cd cmdzen

# Build the project
./gradlew build

# Run the application
./gradlew run

🚀 Quick Start

Basic Usage

# Start CmdZen
cmdzen

# Get help
cmdzen help

# Check version
cmdzen version

Shell Integration (Recommended)

Install shell integration for automatic error capture:

# Install shell integration
cmdzen integrate

# Reload your shell
source ~/.bashrc  # or ~/.zshrc, etc.

# Verify installation
cmdzen integration-status

Using the Solve Command

# Run any command that fails
ls /nonexistent

# Get AI-powered help instantly
cmdzen solve

# Or add context
cmdzen solve "I'm trying to list a directory"

See SHELL_INTEGRATION.md for detailed documentation.

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A lightweight cli tool with ai integration for day to day cli help

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors