The backstory is:
Ain was born out of the frustration of working with many API-endpoints in GUI clients. While pretty, I could't use any shell-scripts or commands such as `uuidgen` as input to the endpoints without copy pasting from a terminal. And I had to copy-paste the resulting output back into the terminal to further slice and dice it.
I had become a human pipe and my ctrl+c, ctrl+v fingers were hurting.
It's done in go and uses curl and or httpie for making the actual calls.
Right, while theoretically possible to do other things than HTTP with the curl backend the other sections do not make sense and it's purpose is HTTP. I'll stress the HTTP in the future, thanks!
What would be the benefits of using libcurl instead of shelling out? Would that work without pain on windows?
I don't understand what you mean, what do you want to read from a text-file?
Piping it into python or go: Sure. Just read from STDIN in your python or go binary. Or use temp-file redirection if you need to the results from a file.
The backstory is: Ain was born out of the frustration of working with many API-endpoints in GUI clients. While pretty, I could't use any shell-scripts or commands such as `uuidgen` as input to the endpoints without copy pasting from a terminal. And I had to copy-paste the resulting output back into the terminal to further slice and dice it.
I had become a human pipe and my ctrl+c, ctrl+v fingers were hurting.
It's done in go and uses curl and or httpie for making the actual calls.