added UA header, and Authorization header based on DPASTE_API_TOKEN env var
less markdown in readme; updated sample session
removed obsolete 'poster' param
License: MIT
Simple command-line client for creating dpaste items from stdin. Optionally specify syntax, title, and expiry. Resulting item is opened in your browser (via xdg-open
on Linux; use open
on macOS).
Sample session:
$ ./dpaste.sh -t Demo -s haskell
Paste your content now, ^D to submit.
---
quicksort (p:xs) = (quicksort lesser) ++ [p] ++ (quicksort greater)
---
http://dpaste.com/25YJJ3MFJ