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
656dd2ceee
commit
e0d57531e6
23
README.md
23
README.md
@ -3,17 +3,28 @@ pb ![calver](https://img.shields.io/badge/calver-2018.08.14-22bfda.svg?style=fla
|
|||||||
|
|
||||||
**pb** is a helper utility for using 0x0 pastebin services
|
**pb** is a helper utility for using 0x0 pastebin services
|
||||||
|
|
||||||
|
pb provides an easy-to-use interface for uploading images or piping output to a 0x0
|
||||||
|
pastebin service. While it comes pre-configured with a specific pastebin, the service
|
||||||
|
endpoint can be overridden.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pb [options] filename
|
pb scores.txt
|
||||||
or
|
Upload 'scores.txt' to the pastebin
|
||||||
(command-with-stdout) | pb
|
|
||||||
|
|
||||||
Uploads a file or data to the tilde 0x0 paste bin
|
echo 'Secret info' | pb
|
||||||
|
Upload piped output to the pastebin
|
||||||
|
|
||||||
OPTIONAL FLAGS:
|
find . -type f -name '*.js' -print | pb -f
|
||||||
-h Show this help
|
Upload a list of files to the pastebin individually pb -s http://0x0.st scores.txt
|
||||||
|
Upload a file to a different pastebin endpoint
|
||||||
|
```
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
```bash
|
||||||
|
-h Show help
|
||||||
-v Show current version number
|
-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
|
||||||
|
Loading…
Reference in New Issue
Block a user