Skip to content

Commit 35413d3

Browse files
Tweaked CLI tool docs
1 parent d442c5b commit 35413d3

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

cli-tool.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The StyleCI CLI Tool requires [PHP](https://php.net) 7.2.5 or higher, and can be
55
<a name="installation"></a>
66
## Installation
77

8-
### Require using Composer
8+
#### Require using Composer
99

1010
Local installation:
1111

@@ -19,7 +19,7 @@ Global installation:
1919
$ composer global require styleci/cli:^0.6.1
2020
```
2121

22-
### Download the Phar
22+
#### Download the Phar
2323

2424
Global installation:
2525

@@ -32,23 +32,23 @@ $ curl -SsLo styleci.phar https://github.com/StyleCI/CLI/releases/download/v0.6.
3232

3333
When using the tool for the first time, you may want to enter your StyleCI API keys. You can do this with the `styleci config` command, which will store your keys in `~/.styleci/config.json`, just like how Composer store keys.
3434

35-
#### StyleCI for GitHub:
35+
**StyleCI for GitHub:**
3636

3737
```
3838
styleci config auth.github YOUR-API-KEY-GOES-HERE
3939
```
4040

4141
> Your API key is available at https://github.styleci.io/profile.
4242
43-
#### StyleCI for GitLab:
43+
**StyleCI for GitLab:**
4444

4545
```
4646
styleci config auth.gitlab YOUR-API-KEY-GOES-HERE
4747
```
4848

4949
> Your API key is available at https://gitlab.styleci.io/profile.
5050
51-
#### StyleCI for Bitbucket:
51+
**StyleCI for Bitbucket:**
5252

5353
```
5454
styleci config auth.bitbucket YOUR-API-KEY-GOES-HERE
@@ -68,30 +68,30 @@ $ styleci
6868
and StyleCI will analyze your current directory.
6969

7070
<a name="configuration"></a>
71-
### Environment Variables
71+
## Environment Variables
7272

7373
If you have chosen not use the first time setup config, or would like to temporarily override the stored keys, this can be done by setting environment variables.
7474

75-
#### StyleCI for GitHub:
75+
**StyleCI for GitHub:**
7676

7777
```bash
7878
$ STYLECI_GITHUB_API_KEY=YOUR-API-KEY-GOES-HERE styleci
7979
```
8080

81-
#### StyleCI for GitLab:
81+
**StyleCI for GitLab:**
8282

8383
```bash
8484
$ STYLECI_GITLAB_API_KEY=YOUR-API-KEY-GOES-HERE styleci
8585
```
8686

87-
#### StyleCI for Bitbucket:
87+
**StyleCI for Bitbucket:**
8888

8989
```bash
9090
$ STYLECI_BITBUCKET_API_KEY=YOUR-API-KEY-GOES-HERE styleci
9191
```
9292

9393
<a name="usage"></a>
94-
### Advanced Usage
94+
## Advanced Usage
9595

9696
You can optionally pass a directory to analyze, otherwise, the current working directory will be used. Moreover, we support analyzing only the changed files, performing a "dry run" without touching your files, and more:
9797

0 commit comments

Comments
 (0)