44

git-authors: Detects project contributors and add it into `package.json`

 5 years ago
source link: https://www.tuicool.com/articles/hit/yqQBfi7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

git-authors-cli

MfaAZbR.png!web

Detects project contributors and add it into package.json

Add credits for people that help you ship code is important, but it is a task easy to forget. This tool makes it easy to integrate as part of your release process, so your contributors are always up to date :sparkles: .

Install

$ npm install git-authors-cli --global

CLI

$ git-authors-cli --help

  Print all contributors and add it into package.json

  Usage
    $ git-authors-cli [options]

  Options
    --cwd    Specify the path for running the command (defaults to process.cwd())
    --save   Write contributors into package.json if it exists (defaults to true)
    --print  Show information from the terminal (defaults to true)

  Examples
    $ git-authors-cli # Get contributors for the current path project.
    $ git-authors-cli ~/Projects/metascraper # Get contributors for a specific path project.

License

git-authors-cli© Kiko Beats , released under the MIT License.

Authored and maintained by Kiko Beats with help from contributors .

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK