Metadata-Version: 2.4
Name: explain-cli
Version: 1.1.0
Summary: Explain repo state with Claude Code or Gemini CLI
Author-email: ccmdi <ccmdi.dev@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/ccmdi/explain-cli
Project-URL: Repository, https://github.com/ccmdi/explain-cli
Project-URL: Issues, https://github.com/ccmdi/explain-cli/issues
Keywords: git,ai,cli,llm,explain
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Version Control :: Git
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyperclip
Requires-Dist: inquirer
Requires-Dist: rich
Dynamic: license-file

# explain-cli

Explain Git commits, PRs, and branch differences using Claude Code or Gemini CLI.

## Install

```bash
# uv
uv tool install explain-cli
# uv (source)
uv tool install https://github.com/ccmdi/explain-cli.git

# pip
pip install explain-cli
# pip (source)
pip install https://github.com/ccmdi/explain-cli.git
```

## Commands

```bash
# Explain commits
explain -C                    # Current commit
explain -C -s                 # Pick from recent commits

# Explain PRs  
explain -P                    # Current PR
explain -P -s                 # Pick from all PRs

# Compare branches
explain -D                    # Compare your current work vs master/main
explain -D feature..main      # Compare two branches

# Interactive selection
explain -D -s                 # Pick branches to compare
explain -D -f "*.py"          # Only Python files
explain -C abc1234 -c         # Copy to clipboard

# Configuration
explain --config              # Set AI provider & verbosity
```

## Requirements

- `git`
- `gh` CLI (for PRs)
- `gemini` CLI or `claude` code
