Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

all-contributors-cli

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-contributors-cli

Tool to easily add recognition for new contributors

  • 1.0.0-beta2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
33K
decreased by-12.11%
Maintainers
1
Weekly downloads
 
Created
Source

all-contributors-cli

This is a tool to help automate adding contributor acknowledgements according to the all-contributors specification.

Usage

# Add new contributor <username>, who a contribution of type <contribution>
all-contributors add <username> <contribution>
# Example:
all-contributors add jfmengels code,doc

Where:

  • username is the user's GitHub username
  • contribution is a ,-separated list of ways to contribute, from the following list (see the specs):
    • code: 💻
    • plugin: 🔌
    • tool: 🔧
    • doc: 📖
    • question: ❓
    • test: ⚠️
    • bug: 🐛
    • example: 💡
    • blog: 📝
    • tutorial: ✅
    • video: 📹
    • talk: 📢
    • design: 🎨
    • review: 👀

Configuration

You can configure the project by creating a .all-contributorsrc JSON file.

{
  "file": "README.md",
  "owner": "jfmengels",
  "emoji": {
    "cheerful": ":smiley:"
  }
}

or creating a all-contributors updating the package.json file:

{
  "name": "all-contributors-cli",
  "...": "...",
  "all-contributors": {
    "file": "README.md",
    "owner": "jfmengels"
  }
}

These are the keys you can specify:

  • emoji: Specify custom emoji, can override the documented emojis. It doesn't really have to be emojis really.
  • file: File to write the list of contributors in. Default: 'README.md'
  • imageSize: Size (in px) of the user's avatar. Default: 100.
  • owner: Name of the user the project is hosted by. Example: jfmengels/all-contributor-cli --> jfmengels. By default will be parsed from the repo's homepage in package.json (TODO).
  • project: Name of the project. Example: jfmengels/all-contributor-cli --> all-contributor-cli. Default: Name of the project written in the package.json file (TODO).
  • template: Define your own contributor template. Please read the code to see what you can define (warning: not sure it will work well after several tries).

Contributors

Thanks goes to these wonderful people (emoji key):

ContributorContributions
Jeroen Engels
Jeroen Engels
💻📖⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

LICENSE

MIT

Keywords

FAQs

Package last updated on 29 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc