all-contributors-cli-inferred v0.1.0
Usage
npx all-contributors-cli-inferredall-contributors-cli-inferred supports all the same options as all-contributors-cli.
The only difference is that instead of requiring an .all-contributorsrc file, one will be inferred for you by reading from your README.md and package.json.
For example, to add a contribution your README.md table:
npx all-contributors-cli-inferred add ghost testYou can use this CLI as a drop-in replacement for all-contributors-cli.
If you already had an .all-contributorsrc file, it won't be deleted.
How?
This CLI works by:
- Reading configuration from any existing
.all-contributorsrc,package.json, andREADME.mdfiles - Writing a new
.all-contributorsrcfile with that configuration - Forwarding all process arguments to
all-contributors-cli - If an
.all-contributorsrcfile didn't already exist, the newly created one is deleted
Why?
All Contributors is one of many great pieces of tooling available for repositories. Repositories that use many tools often end up with a dauntingly large number of configuration files -- over a dozen in many cases.
Many users find it exhausting and overwhelming to open a new repository with many config files. Reducing the number of config files in repositories can help make developing them more approachable.
๐ก Wish this was built into All Contributors? Lend a ๐ to all-contributors/all-contributors#808 Make the .all-contributorsrc file optional (infer contributors from README.md)!
Development
See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md.
Thanks! ๐
Contributors
๐ This package was templated with
create-typescript-appusing thecreateengine.
11 months ago