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

Installation

Static binary releases currently only exist for linux. See releases.

For installation on other platforms use cargo: cargo install upaste

Usage

```

simple

cat file | upaste upaste -f

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

raw

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

-> ** Success! Content available at: https://hastebin.com/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. james.kominick@gmail.com

* 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/

```