2.9.4 • Published 6 years ago

pr-summary v2.9.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

2.9.4

6 years ago

2.9.3

6 years ago

2.9.2

6 years ago

2.9.1

6 years ago

2.9.0

6 years ago

2.8.1

7 years ago

2.8.0

7 years ago

2.7.0

7 years ago

2.6.1

7 years ago

2.6.0

7 years ago

2.5.1

7 years ago

2.5.0

7 years ago

2.4.1

7 years ago

2.4.0

7 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago