Closed srgvg closed 2 years ago
I am not sure why, but pastes were showing up empty when I tried this improved script.
I fixed the script here
https://github.com/stvhay/pastey/commit/755f47053bbf1230d847c6aadea91e46aec1b59e
It's long overdue but thank you for contributing this. I'll merge it right now, to be included in version 0.5 (as well as with @stvhay's fix to use the correct endpoint).
As discussed in #9 I used the updated
/paste
endpoint, with the additionalcli
option.I however suspect, the
/raw
endpoint is part of the{{ endpoint }}
templating? It might perhaps be better to leave that specific endpoint in the script, having only the base url behing theendpoint
variable, which shows it more explicitly?I think I tested most paths, but wouldn';t be suprised if you'd find some bugs. Let me know what you thinik,.
Closes #9