Hacker News new | ask | show | jobs
by viraptor 2145 days ago
If your json-vs-text output drifts often, you could make the backing objects the same. AWS kind of does it in their cli tool. It's all objects and json inside, but you see nicely rendered tables. "--output=json" gives you the real/raw data.