a git extention for Github CODEOWNERS files
For osx users, you can use brew
to install or update git-codeowners
bash
$ brew install softprops/tools/git-codeowners
To upgrade, just use brew upgrade
instead
You can download releases for osx and linux directly from github releases
bash
$ cd $HOME/bin
$ curl -L "https://github.com/softprops/git-codeowners/releases/download/v0.1.1/git-codeowners-$(uname -s)-$(uname -m).tar.gz" \
| tar -xz
If you are a rust user can can just use cargo
bash
$ cargo install git-codeowners
git-codeowners is intended for use as a git extention ( a program whose name starts with git- ) to extend your git workflow.
bash
$ git codeowners src/main.rs
@softprops
```bash $ git-codeowners --help git-codeowners 0.1.1 Github CODEOWNERS answer sheet
USAGE:
git-codeowners [FLAGS] [OPTIONS]
FLAGS: -e, --emails Only return emails -h, --help Prints help information -t, --teams Only return teams -u, --users Only return users -V, --version Prints version information
OPTIONS:
-c, --codeowners
ARGS:
Doug Tangren (softprops) 2017