Metadata-Version: 2.1
Name: codeowners_diff
Version: 0.1.0
Summary: see which files have changed ownership when `CODEOWNERS` changes
Home-page: https://github.com/samueljsb/codeowners-diff
Author: Samuel Searles-Bryant
Author-email: sam@samueljsb.co.uk
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: codeowners
Requires-Dist: tabulate

# Code Owner diff tool

This tool helps to identify which files in a repository are changing ownership
when a GitHub `CODEOWNERS` file changes.

## Usage

```console
$ codeowners-diff --help
usage: codeowners-diff [-h] [-r REPO_ROOT] [base_ref] [head_ref]

get a summary of the changes to code owners between two refs

positional arguments:
  base_ref              default: main
  head_ref              default: HEAD

options:
  -h, --help            show this help message and exit
  -r REPO_ROOT, --repo-root REPO_ROOT
                        git repository to run the tool in (default: current directory)
```

By default,
the tool will show the changes in ownership
between the current revision and `main`.

The output is GitHub-flavoured Markdown.
