Skip to content

Commit 5aad5f1

Browse files
committed
Bring README into sync with code; format code blocks
1 parent ea96f7a commit 5aad5f1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CLI app for managing GitHub labels for Python 3.6 and newer. 📝
66

77
**labels** is available for download from [PyPI][PyPI] via [pip][pip]:
88

9-
```text
9+
```bash
1010
pip install labels
1111
```
1212

@@ -23,6 +23,14 @@ export LABELS_USERNAME="<GITHUB_USERNAME>"
2323
export LABELS_TOKEN="<GITHUB_TOKEN>"
2424
```
2525

26+
You can override one or both of these values manually using the following CLI
27+
options:
28+
29+
```text
30+
-u, --username TEXT GitHub username
31+
-t, --token TEXT GitHub access token
32+
```
33+
2634
## Usage
2735

2836
Once you've installed **labels** and set up the environment variables, you're
@@ -54,7 +62,7 @@ information. The default name for this file is ``labels.toml`` in your
5462
current working directory and can be changed by passing the ``-f, --filename
5563
PATH`` option followed by the path to where you want to write to.
5664

57-
```text
65+
```bash
5866
labels fetch -o hackebrot -r pytest-emoji
5967
```
6068

0 commit comments

Comments
 (0)