Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
paster / README.md
Size: Mime:

Paster

A generic pastebin posting tool

Supported Paste services:

Add support for more services easily

Usage

Do pstr -h, pstr paste -h, pstr list -h for help

Examples

Paste some content

pstr paste "some content"

Paste through the familiar piping

git diff | pstr paste

Paste to the service pastebin

pstr paste -s pastebin "some content"

Paste file contents (deprecated after piping support)

pstr paste -f path/to/file/filename.extension

Paste git diff (deprecated after piping support)

pstr paste -c "git diff"

List available syntax/languages/formats

pstr list syntax

List available pastebin services

pstr list services

For the lazy

  • Alias pstr paste to something like p and do echo foo | p
  • Use a config file to store settings