runpod / runpodctl

🧰 | RunPod CLI for pod management
https://www.runpod.io/
GNU General Public License v3.0
261 stars 38 forks source link

can you get the api to return JSON? #148

Open wbrenton opened 5 months ago

wbrenton commented 5 months ago

Seems like some core functionality is missing, if its not its poorly documented.

Is it possible to get runpodctl to return json?

jojje commented 1 month ago

The output is unfortunately not centralized. It's spread all over the various sub-commands. I'd have to refactor much of the CLI to enable this, and tend to refrain from such on repos I don't own. So, is there some specific subcommand you're interested in getting json output for? get pod I'd assume. Anything else that's critical?