by Crazyontap · 5y ago · 0 comments
It would handle most known commands and maybe had plugin support for the rest.
Just a thought I had. Don't really know if it's possible or feasible. But it would make working with command line much more predictable and easier especially if it also supported jmespath! What do you guys think?
“Like sed for JSON data”
The output would then be appropriate for jq.
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.
(I don't have an opinion yet. Been meaning to try it for a year now but a shell is a difficult thing to switch)