Skip to content

Commit aef627a

Browse files
committed
readme content
1 parent 43f7edd commit aef627a

File tree

1 file changed

+79
-1
lines changed

1 file changed

+79
-1
lines changed

README.md

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,80 @@
11
# pasty
2-
another pastebin.com cli
2+
3+
pasty is a cli for pastebin.com. With it you can:
4+
5+
- upload files
6+
- upload strings
7+
- list all your pastes
8+
- delete a paste
9+
- get paste content
10+
- get user information (signed in user)
11+
12+
# usage
13+
14+
first, login:
15+
16+
```shell
17+
$ pasty login <username>
18+
```
19+
20+
then, create a paste:
21+
22+
```shell
23+
$ pasty create -s "hello world!"
24+
```
25+
26+
alternativly, you can upload a file:
27+
28+
```shell
29+
$ pasty create -f hello_world.txt
30+
```
31+
32+
## other commands
33+
34+
list all your pastes:
35+
36+
```shell
37+
$ pasty list
38+
```
39+
40+
delete a paste:
41+
42+
```
43+
$ pasty delete <unique id>
44+
```
45+
46+
get a paste's content:
47+
48+
```shell
49+
$ pasty get <unique id>
50+
```
51+
52+
get info about signed in user:
53+
54+
```shell
55+
$ pasty user-info
56+
```
57+
58+
# more options
59+
60+
you can customize your newly created paste:
61+
62+
- syntax highlighting (default: none)
63+
- [supported hightlighting formats](https://pastebin.com/faq#10)
64+
- expiry date (default: none)
65+
- never (N)
66+
- 10 minutes (10M)
67+
- 1 hour (1H)
68+
- 1 day (1D)
69+
- 1 week (1W)
70+
- 1 month (1M)
71+
- 6 months (6M)
72+
- 1 year (1Y)
73+
- paste visibilty (default: public)
74+
- public
75+
- unlisted
76+
- private
77+
78+
# installation
79+
80+
download the latest built executable for your system and add it to your PATH variable.

0 commit comments

Comments
 (0)