GitHub - JoshuaKGoldberg/populate-all-contributors-for-repository: Populates the .all-contributorsrc for a repository using all-contributors-for-repository. ๐Ÿ“‹ (original) (raw)

Populates the .all-contributorsrc for a repository using all-contributors-for-repository. ๐Ÿ“‹

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

Usage

npx populate-all-contributors-for-repository --owner Owner --repository TestRepository

populate-all-contributors-for-repository will add each contributor automatically detected by all-contributors-for-repository to your .all-contributorsrc file.

Note

Contributors are added in series using npx all-contributors-cli add. See all-contributors/cli#362 for a feature request to speed this up.

Node.js API

Alternately, this can be called programmatically:

npm i populate-all-contributors-for-repository

import { populateAllContributorsForRepository } from "populate-all-contributors-for-repository";

await populateAllContributorsForRepository({ owner: "JoshuaKGoldberg", repo: "create-typescript-app", });

Options

populateAllContributorsForRepository takes in the same RawAllContributorsForRepositoryOptions options type as all-contributors-for-repository's getAllContributorsForRepository. See all-contributors-for-repository > Options.

Development

See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md. Thanks! ๐Ÿ“‹

Contributors

๐Ÿ’ This package was templated with create-typescript-app using the Bingo framework.