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

all-contributors-cli-inferred

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-contributors-cli-inferred

Wraps all-contributors-cli by creating the .all-contributorsrc file from inferred settings. ๐Ÿ’“

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

All Contributors CLI Inferred

Wraps all-contributors-cli by creating the .all-contributorsrc file from inferred settings. ๐Ÿ’“

๐Ÿค Code of Conduct: Kept ๐Ÿงช Coverage ๐Ÿ“ License: MIT ๐Ÿ“ฆ npm version ๐Ÿ’ช TypeScript: Strict

Usage

npx all-contributors-cli-inferred

all-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 test

You 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:

  1. Reading configuration from any existing .all-contributorsrc, package.json, and README.md files
  2. Writing a new .all-contributorsrc file with that configuration
  3. Forwarding all process arguments to all-contributors-cli
  4. If an .all-contributorsrc file 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-app using the create engine.

FAQs

Package last updated on 23 Dec 2024

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