Skip to content

Commit ee36755

Browse files
committed
update docs
1 parent a5fff75 commit ee36755

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66

77
<p align="center">
88
<img src="https://img.shields.io/github/actions/workflow/status/permafrost-dev/codeboost/run-tests.yml?style=flat-square&logo=github&label=tests" alt="Run Tests">
9-
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/permafrost-dev/codeboost?color=%234c1&label=coverage&logo=codecov&logoColor=%23ef6f6f&style=flat-square&token=qYptYEWlm7" alt="codecov">
9+
<img src="https://img.shields.io/codecov/c/github/permafrost-dev/codeboost?color=%234c1&label=coverage&logo=codecov&logoColor=%23ef6f6f&style=flat-square&token=qYptYEWlm7" alt="codecov">
1010
<img src="https://img.shields.io/github/license/permafrost-dev/codeboost?style=flat-square&logo=opensourceinitiative&logoColor=white" alt="license">
1111
<br>
1212
<img src="https://img.shields.io/codeclimate/tech-debt/permafrost-dev/codeboost?label=tech%20debt&amp;logo=codeclimate&amp;style=flat-square&nocache=1" alt="techdebt">
1313
<img src="https://img.shields.io/scrutinizer/quality/g/permafrost-dev/codeboost/main?logo=scrutinizer&style=flat-square" alt="scrutinizer score" />
14-
<img src="https://api.codeclimate.com/v1/badges/688e30d604cdcd93a262/maintainability" />
14+
<img src="https://api.codeclimate.com/v1/badges/688e30d604cdcd93a262/maintainability" alt="maintainability" />
1515
<!--br>
1616
<img src="https://shields.io/npm/v/codeboost?style=flat-square&logo=npm&logoColor=white" alt="npm version">
1717
<img src="https://img.shields.io/npm/dt/codeboost.svg?style=flat-square&logo=npm&logoColor=white" alt="npm downloads"-->
1818
<br><br>
1919
<img src="https://badgen.net/github/dependabot/permafrost-dev/codeboost?style=flat-square" alt="dependabot status">
20-
<img alt="Depfu" src="https://img.shields.io/depfu/dependencies/github/permafrost-dev/codeboost?style=flat-square&nocache=1">
20+
<img src="https://img.shields.io/depfu/dependencies/github/permafrost-dev/codeboost?style=flat-square&nocache=1" alt="Depfu">
2121
<!--img src="https://img.shields.io/npm/v/codeboost?label=npm%20version&logo=npm&logoColor=%23f1f5f9&style=flat-square" alt="version"-->
2222
</p>
2323

@@ -44,13 +44,13 @@ codeboost init
4444
Run a boost:
4545

4646
```bash
47-
codeboost run -r <repository> <boost>
47+
codeboost run --repo <repository> <boost-name>
4848
```
4949

5050
Run a boost on a batch of repositories:
5151

5252
```bash
53-
codeboost run --batch repositories.json --size 3 <boost>
53+
codeboost run --batch repositories.json --size 3 <boost-name>
5454
```
5555

5656
When running in batch mode, the `--size` option can be used to specify the number of repositories to process at once. The default is 1.
@@ -72,9 +72,15 @@ Example of a batch JSON file (_repositories.json_):
7272
]
7373
```
7474

75+
## Boosts
76+
77+
Boosts are stored by default in `~/.codeboost/boosts`, and examples can be found in the `examples` directory of the repository. [Read the docs](docs/boosts.md).
78+
7579
## Configuration
7680

77-
To use the `codeboost` CLI, create a file named `boost.config.js` in your current working directory or run `codeboost init` to create a default configuration file.
81+
To use the `codeboost` CLI, create a file named `codeboost.config.js` in your current working directory or run `codeboost init` to create a default configuration file.
82+
83+
The default configuration file is stored in `~/.codeboost/codeboost.config.js`. This file assumes that you have an environment variable named `CODEBOOST_GITHUB_TOKEN` that contains a valid GitHub personal access token with the `repo` scope. You may edit this file to use a different token or to change the default storage paths.
7884

7985
This file should export a `default` configuration object with the following properties:
8086

0 commit comments

Comments
 (0)