Upload data to hastebin from a file or stdin.
Based on seejohnrun/haste-client
$ cat file.sh | haste
# URL of the data is printed
$ haste file.sh
# URL of the data is printed
$ haste
haste must be invoked with exactly one file name or stdin open
Upload data to hastebin from a file or stdin.
Based on seejohnrun/haste-client
$ cat file.sh | haste
# URL of the data is printed
$ haste file.sh
# URL of the data is printed
$ haste
haste must be invoked with exactly one file name or stdin open