A minimal hastebin cli clone written in Nim
Usage:
echo Hello, World! | hasten [optional-params]
Options(opt-arg sep :|=|spc):
-h, --help write this help to stdout
-u=, --url= string "https://hastebin.com/" base url to upload to
-r, --raw bool false return the raw URL
This was written before I realized there was already another Nim client out there (albeit outdated) & curl + awk one-liner.
The releases & build stage in the makefile strip the GC from the final executable since the process is so short lived.