mirror of
https://tildegit.org/tomasino/pb.git
synced 2024-11-20 03:25:54 +01:00
updated readme with info from manpage
This commit is contained in:
parent
e0d57531e6
commit
b806df7050
22
README.md
22
README.md
@ -7,27 +7,39 @@ pb provides an easy-to-use interface for uploading images or piping output
|
|||||||
pastebin service. While it comes pre-configured with a specific pastebin, the service
|
pastebin service. While it comes pre-configured with a specific pastebin, the service
|
||||||
endpoint can be overridden.
|
endpoint can be overridden.
|
||||||
|
|
||||||
## Usage
|
## Usage Examples
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pb scores.txt
|
pb scores.txt
|
||||||
|
```
|
||||||
|
|
||||||
Upload 'scores.txt' to the pastebin
|
Upload 'scores.txt' to the pastebin
|
||||||
|
|
||||||
|
```bash
|
||||||
echo 'Secret info' | pb
|
echo 'Secret info' | pb
|
||||||
|
```
|
||||||
|
|
||||||
Upload piped output to the pastebin
|
Upload piped output to the pastebin
|
||||||
|
|
||||||
|
```bash
|
||||||
find . -type f -name '*.js' -print | pb -f
|
find . -type f -name '*.js' -print | pb -f
|
||||||
Upload a list of files to the pastebin individually pb -s http://0x0.st scores.txt
|
|
||||||
Upload a file to a different pastebin endpoint
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Upload a list of javascript files to the pastebin individually
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pb -s http://0x0.st scores.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
Upload a file to a different pastebin endpoint
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
-h Show help
|
|
||||||
-v Show current version number
|
|
||||||
-f Explicitly interpret stdin as filename
|
-f Explicitly interpret stdin as filename
|
||||||
-s server_address Use alternative pastebin server address
|
-s server_address Use alternative pastebin server address
|
||||||
|
-v Show current version number
|
||||||
|
-h Show help
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
Loading…
Reference in New Issue
Block a user