Skip to content

Commit 0449ccf

Browse files
committed
Updatet login docs
1 parent 059046d commit 0449ccf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ pasty is a cli for pastebin.com. With it you can:
1313

1414
first, login:
1515

16+
- visit [pastebin.com](https://pastebin.com/) and login
17+
- visit [https://pastebin.com/doc_api#1](https://pastebin.com/api_doc)
18+
- save your api key in a file called `pasty.api` in your home directory (`~/.pasty.api`)
19+
- the contents of your `.pasty.api` should just be the key, nothing else
20+
21+
then run
22+
1623
```
1724
$ pasty login <username>
1825
```
@@ -52,7 +59,7 @@ $ pasty get <unique id>
5259
get info about signed in user:
5360

5461
```
55-
$ pasty user-info
62+
$ pasty user
5663
```
5764

5865
logout:

0 commit comments

Comments
 (0)