godpaste
A command line tool for creating items on dpaste.
Installation
go get github.com/erbesharat/godpaste
Usage
Basic plain-text item creation:
godpaste --file test.txt
Set expiry (1–365 days):
godpaste --file test.txt --expire 5
Set syntax to JavaScript:
godpaste --file test.js --syntax js
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
)
- Commit your changes (
git commit -am 'Add some feature'
)
- Push to the branch (
git push origin my-new-feature
)
- Create new Pull Request
License
GPLv3