signebedi / gptty

ChatGPT wrapper in your TTY
MIT License
50 stars 7 forks source link

[runtime] add a `--json` flag to return `query` data as a JSON object #46

Closed signebedi closed 1 year ago

signebedi commented 1 year ago

When users want to employ the query subcommand in their scripts, we should allow a JSON responses (instead of the standard, human-readable format) when they pass the --json flag.