Git Product home page Git Product logo

pr-summary's Introduction

pr-summary

npm version

pr-summary is a command to summarize merged Pull Requests between specified refs.

Getting Started

Prerequisites

node.js 6.X.

Install

  1. This package provided as npm package. You can install this command by npm install -g pr-summary
  2. Get your GitHub access token.
  3. Set the access token as Environment Variable GITHUB_TOKEN

Commands

 $ prs --help

  Usage: prs [options] [command]

  Commands:

    prepare-release   Create to prepare release PR
    pr-info           List PRs in specified PR
    help [cmd]        display help for [cmd]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

pr-info(default)

  Usage: prs pr-info <owner> <repo> <number>

  Options:

    -h, --help  output usage information

  Arguments:

    owner:  Repository owner
    repo:   Repository name
    number: Pull Request number

  Example:

    prs pr-info kompiro pr-summary 3

prepare-release

  Usage: prs prepare-release <owner> <repo> <base> <head>

  Options:

    -h, --help  output usage information

  Arguments:

    owner:  Repository owner
    repo:   Repository name
    base:   Base branch to merge [ex: master]
    base:   Head branch to merge [ex: develop]

  Example:

    prs prepare-release kompiro pr-summary master develop

daily-report

  Usage: prs-daily-report <owner> <repo> [user] [date]

  Options:

    -h, --help  output usage information

  Arguments:

    owner:  Repository owner
    repo:   Repository name
    user:   User name(optional)
    date:   Filter to specify target date(optional)

  Example:

    prs-pr-daily-report kompiro pr-summary kompiro (today)

Running the tests

npm test

And coding style tests

This command contains .eslintrc.js. You can check the style by eslint

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Hiroki Kondo - Initial work - kompiro

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

pr-summary's People

Contributors

kompiro 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.