description before example

This commit is contained in:
James Tomasino 2018-10-09 20:48:48 -04:00
parent c19f3e6ede
commit 95de7a48c6
1 changed files with 8 additions and 8 deletions

View File

@ -9,36 +9,36 @@ endpoint can be overridden.
## Usage Examples ## Usage Examples
```bash
pb scores.txt
```
Upload 'scores.txt' to the pastebin Upload 'scores.txt' to the pastebin
```bash ```bash
echo 'Secret info' | pb pb scores.txt
``` ```
Upload piped output to the pastebin Upload piped output to the pastebin
```bash ```bash
find . -type f -name '*.js' -print | pb -f echo 'Secret info' | pb
``` ```
Upload a list of javascript files to the pastebin individually Upload a list of javascript files to the pastebin individually
```bash ```bash
pb -s http://0x0.st scores.txt find . -type f -name '*.js' -print | pb -f
``` ```
Upload a file to a different pastebin endpoint Upload a file to a different pastebin endpoint
```bash ```bash
pb -u https://google.com pb -s http://0x0.st scores.txt
``` ```
Shorten a URL Shorten a URL
```bash
pb -u https://google.com
```
### Options ### Options
```bash ```bash