upaste Build Status crates.io

hastebin / general pasting client

Simple client for uploading to hastebin.com or any site that accepts posting and viewing pastes

Usage

```

simple

cat file | upaste upaste -f

-> ** Success! Content available at: https://hastebin.com/

raw

cat file | upaste --raw upaste --file --raw

custom paste/read locations

upaste --file --paste-root https://hastebin.com/documents --read-root https://hastebin.com

-> ** Success! Content available at: /

pulling existing paste into file

upaste --pull > ```

``` $ upaste --help

upaste 0.2.0 James K.

* CLI pasting client -- defaults to https://hastebin.com * Reads from stdin or a specified file:

cat file.txt | upaste upaste -f file.txt

USAGE: upaste [FLAGS] [OPTIONS]

FLAGS: -h, --help Prints help information -r, --raw return link to raw version -V, --version Prints version information

OPTIONS: -f, --file file to upload --paste-root Host url to upload to. Defaults to https://hastebin.com/documents -p, --pull pull an existing paste to stdout --read-root Host url-root to use when linking to post. Defaults to https://hastebin.com/

```