Hacker News new | ask | show | jobs
by cryptofistMonk 1868 days ago
For this to work on the command line, the json-pipe command would need some heuristic for parsing arbitrary input, could be tricky.

Interestingly enough, the Arista CLI actually implements something like this, but it's not a real pipe or a separate command - each command implements it's own `<command> | json` handler.