SamStudio8 / ocarina2

on-computer agent (for) remembering input actions
MIT License
8 stars 1 forks source link

Add option to output JSON response to stdout rather than having users parse stderr #11

Closed SamStudio8 closed 2 years ago

SamStudio8 commented 3 years ago

When I originally wrote Ocarina, my intention was that users would import it to make queries and such, or would just handle calls from scripts and not need to do anything with the JSON. Requests and responses are provided to stderr for debug but some users may actually want to use the reply (rather than checking the exit code with --angry).