Skip to content

Commit 79b6042

Browse files
committed
docs: add basic instructions in readme
1 parent 3baf32c commit 79b6042

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1-
# ghstats
1+
# ghs
2+
3+
CLI tool to get your Github profile's stats and summary.
4+
5+
## Installation
6+
7+
The stable version of this package is maintained on pypi, install using pip:
8+
9+
```bash
10+
pip install ghs
11+
```
12+
13+
## PAT
14+
15+
Generate a Github personal access token (https://github.com/settings/tokens) and use the `ghs -t` command to save it in the config file. This will make sure that your private contributions are also considered while generating the stats and the summary.
16+
17+
## Usage
18+
19+
```
20+
➜ ghs -h
21+
usage: ghs [-h] [-v] [-t] [-u <username>] [--highlights] [-c]
22+
23+
Get stats and highlights of your github profile.
24+
25+
optional arguments:
26+
-h, --help show this help message and exit
27+
-v, --version print cli version and exit
28+
-t, --token-update update the token in config and exit
29+
-u <username> github username
30+
--highlights display the highlights of user's github profile
31+
-c, --copy-to-clipboard copy the output to clipboard
32+
```

0 commit comments

Comments
 (0)