1
0
mirror of https://tildegit.org/tomasino/pb.git synced 2024-12-23 03:25:18 +01:00

updates readme

This commit is contained in:
James Tomasino 2022-11-03 17:08:12 +00:00
parent c5d06b17f9
commit 053ebb142b

View File

@ -1,4 +1,4 @@
pb ![calver](https://img.shields.io/badge/calver-2020.10.27-22bfda.svg?style=flat-square) [![Build Status](https://drone.tildegit.org/api/badges/tomasino/pb/status.svg)](https://drone.tildegit.org/tomasino/pb) ![license](https://img.shields.io/badge/license-GPL3-blue.svg?style=flat-square) pb ![calver](https://img.shields.io/badge/calver-2022.11.03-22bfda.svg?style=flat-square) [![Build Status](https://drone.tildegit.org/api/badges/tomasino/pb/status.svg)](https://drone.tildegit.org/tomasino/pb) ![license](https://img.shields.io/badge/license-GPL3-blue.svg?style=flat-square)
------ ------
**pb** is a helper utility for using 0x0 pastebin services **pb** is a helper utility for using 0x0 pastebin services
@ -33,12 +33,6 @@ Upload a file to a different pastebin endpoint
pb -s http://0x0.st scores.txt pb -s http://0x0.st scores.txt
``` ```
Shorten a URL
```bash
pb -u https://google.com
```
Re-upload an image from the web Re-upload an image from the web
```bash ```bash
@ -48,13 +42,12 @@ curl -s https://tildegit.org/_/static/img/gitea-lg.png | pb -e "png"
### Options ### Options
```bash ```bash
-h Show this help -h | --help) Show this help
-v Show current version number -v | --version) Show current version number
-f Explicitly interpret stdin as filename -f | --file) Explicitly interpret stdin as filename
-c Pretty color output -c | --color) Pretty color output
-u Shorten URL -s | --server server_address) Use alternative pastebin server address
-s server_address Use alternative pastebin server address -e | --extension bin_extension) Specify file extension used in the upload
-e bin_extension Specify a binary file extension used in the upload
``` ```
### Install ### Install