Note
dpaste has an official Go client now!
dpaste-cli is an unofficial CLI for dpaste.com.
It would be remiss of me to ignore the existence of other CLI clients for dpaste, so why this client?
- Single binary with no dependencies, no interpreter required.
- Support a UNIX workflow, pipes by default (see dpaster)
- Pipes:
cat <your_file> | dpaste-cli - Pass a file arg:
dpaste-cli create --file <your_file>
You will need a local or remote Go development environment. While I use the GoLand IDE by JetBrains, VSCode also does a good job and Vim has an excellent plugin for Go.
For remote development, my strong recommendation is Gitpod. Replit is also an excellent choice.
This repository is open to PRs :)