Parses GitHub CODEOWNERS1 files.
cargo install --git https://github/triarius/git-codeowners.gitTo invoke this as git codeowners instead of /path/to/git-codeowners, ensure that
gitis installed and in yourPATH- The location
cargoinstalls executables to is in yourPATH. This is typically~/.local/share/cargo/bin.
Change directory to a git repo with a CODEOWNERS file.
Usage: git-codeowners [OPTIONS] <COMMAND>
Commands:
of Find owners for the specified paths. Reads paths from STDIN if not provided as positional arguments
inventory Print all files owned by the specified owner
help Print this message or the help of the given subcommand(s)
Options:
-p, --path <PATH> Path to the CODEOWNERS file [default: .github/CODEOWNERS]
-h, --help Print help
-V, --version Print version
git diff (git merge-base origin/main HEAD) --name-only | git codeowners of