All Contributors CLI
The All Contributors CLI is a command line tool that keeps the contributors table of your project up to date. You tell it who contributed and in which way, and it records the person in your .all-contributorsrc file and regenerates the table and the badge in your files. It works with repositories on GitHub and on GitLab, including self-hosted servers, and it runs wherever Node.js runs.
When to use it
Section titled “When to use it”The app does the same job from a comment on GitHub and needs nothing installed. The CLI is the better choice in a few situations: your repository lives on GitLab, you want to add several people in one go, you want contributors added by a script or a CI workflow, or you want to check whether someone who committed to your project is missing from the table. Choose a tool compares the two.
What it does
Section titled “What it does”The CLI has four commands, which you will meet in the quick start:
initasks a few questions and prepares your project.addrecords a contributor or changes their contributions.generaterebuilds the table and the badge from the contributors list.checkcompares the people who committed to your repository with the people in your table.
Next steps
Section titled “Next steps”- Install the CLI and check that it runs.
- Follow the quick start to set up a project and add a first contributor.
- Look up every command and flag in the commands reference.
