GithubHelp home page GithubHelp logo

fauxfaux / git-codeowners Goto Github PK

View Code? Open in Web Editor NEW

This project forked from softprops/git-codeowners

0.0 2.0 0.0 555 KB

a git extension to work with CODEOWNERS files

License: MIT License

Rust 66.79% Shell 33.21%

git-codeowners's Introduction

git-codeowners Build Status Software License Crates.io

a git extention for Github CODEOWNERS files

Github CODEOWNERS files document ownership over paths within git repositories allowing you to more effectively focus communication with the right people.

install

Homebrew

For osx users, you can use brew to install or update git-codeowners

$ brew install softprops/tools/git-codeowners

To upgrade, just use brew upgrade instead

GH releases

You can download releases for osx and linux directly from github releases

$ cd $HOME/bin
$ curl -L "https://github.com/softprops/git-codeowners/releases/download/v0.1.2/git-codeowners-$(uname -s)-$(uname -m).tar.gz" \
  | tar -xz

Cargo

If you are a rust user can can just use cargo

$ cargo install git-codeowners

usage

git-codeowners is intended for use as a git extention ( a program whose name starts with git- ) to extend your git workflow.

$ git codeowners src/main.rs
@softprops
$ git-codeowners --help
git-codeowners 0.1.2
Github CODEOWNERS answer sheet

USAGE:
    git-codeowners [FLAGS] [OPTIONS] <path>

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 <codeowners>    An explicit path for a CODEOWNERS file. program will exit 1 if file can not be resolved

ARGS:
    <path>    Path of file in git repo. if '-' is provided path will be read from stdin. program will exit 2 if no owners can be resolved

Doug Tangren (softprops) 2017

git-codeowners's People

Contributors

softprops avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.