Metadata-Version: 2.4
Name: diff-cli
Version: 0.1.0
Summary: File and text differ with multiple output formats
Project-URL: Homepage, https://github.com/marcusbuildsthings-droid/diff-cli
Project-URL: Repository, https://github.com/marcusbuildsthings-droid/diff-cli
Author-email: Marcus <marcus.builds.things@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: cli,compare,diff,side-by-side,text,unified
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Requires-Dist: click>=8.0
Description-Content-Type: text/markdown

# diff-cli

File and text differ with multiple output formats.

## Install

```bash
pip install diff-cli
```

## Usage

```bash
# Compare files
diff-cli files file1.txt file2.txt

# Compare text strings
diff-cli text "hello world" "hello there"

# Compare directories
diff-cli dirs dir1/ dir2/

# Output formats
diff-cli files a.txt b.txt --unified        # Default
diff-cli files a.txt b.txt --side-by-side    # Two-column
diff-cli files a.txt b.txt --context         # Context format
diff-cli files a.txt b.txt --minimal         # Changes only
diff-cli files a.txt b.txt --json            # JSON for automation

# Options
diff-cli files a.txt b.txt -n 5             # 5 context lines
diff-cli files a.txt b.txt --ignore-whitespace
diff-cli files a.txt b.txt --ignore-case
diff-cli files a.txt b.txt --ignore-blank-lines

# Watch mode
diff-cli watch file1.txt file2.txt
```

## Exit Codes

| Code | Meaning |
|------|---------|
| 0 | Files are identical |
| 1 | Files differ |
| 2 | Error (file not found, etc.) |

## License

MIT
