-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readme: fix formatting #23
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,20 +3,23 @@ Tools and stats for open-source communities | |||||
|
||||||
[![test](https://github.com/gitcommitshow/open-community-kit/actions/workflows/test.yml/badge.svg)](https://github.com/gitcommitshow/open-community-kit/actions/workflows/test.yml) | ||||||
|
||||||
# Installation | ||||||
## Installation | ||||||
|
||||||
```bash | ||||||
npm install -g open-community-kit | ||||||
``` | ||||||
|
||||||
You can use `npx` as well if you just want to test a CLI command | ||||||
|
||||||
# Usage | ||||||
---- | ||||||
|
||||||
## Create a leaderboard of Github contributors for all the repos of a user/org | ||||||
(Contributor with highest # of contributions at the top) | ||||||
## Usage | ||||||
|
||||||
### Using CLI | ||||||
### Leaderboard - GitHub Contributors | ||||||
|
||||||
For all the repos of a user/org. Contributor with highest # of contributions at the top. | ||||||
|
||||||
**Using CLI** | ||||||
|
||||||
Run `open-community-kit yourGithubOrgName` from your terminal | ||||||
|
||||||
|
@@ -36,7 +39,7 @@ You will hit the API limits soon. **To increase API limits**, add [`GITHUB_PERSO | |||||
ock yourGitHubOrgName yourGitHubPersonalToken | ||||||
``` | ||||||
|
||||||
### Using code | ||||||
**Using code** | ||||||
|
||||||
```javascript | ||||||
import OCK from 'open-community-kit'; | ||||||
|
@@ -48,6 +51,8 @@ OCK.contributors.github.archive( | |||||
); | ||||||
``` | ||||||
|
||||||
---- | ||||||
|
||||||
## Settings for repeated usage | ||||||
|
||||||
If you are going to use this command frequently, you might not want to set organization name and personal token again and again. Instead, you can set following environment variables and then you don't need to pass those variables as CLI arguments or function parameters | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider adding the missing article "the" before "organization name" and "the" before "following environment variables" for grammatical correctness. Also, a comma before "and then" could improve readability. - you might not want to set organization name and personal token again and again. Instead, you can set following environment variables and then you don't need to pass those variables as CLI arguments or function parameters
+ you might not want to set the organization name and personal token again and again. Instead, you can set the following environment variables, and then you don't need to pass those variables as CLI arguments or function parameters Committable suggestion
Suggested change
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The spelling of "GitHub" should be corrected to use a capital "H" to adhere to the official naming convention.
There's a typo in "account". It should be corrected for clarity.