Skip to content

patrickmcnamara/pstr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pstr

latest version last commit top language licence

A paster.xyz command line helper tool. It can post pastes and print pastes.

Installation

Run go get -u github.com/patrickmcnamara/pstr.

Usage

Running pstr will post stdin to paster.xyz. For example, gpg --export --armor F0F49A6E | pstr will post that PGP key. The URL of that paste, https://paster.xyz/GItSTbZZqzo, is printed out.

pstr can also optionally take a paste ID as the first argument. It will print that paste to stdout. For example, pstr GItSTbZZqzo will post the paste from the previous example.

Licence

This project is licenced under the European Union Public Licence v1.2.

About

A paster.xyz command line helper tool

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages