most/lots of our show commands are json framed (you can check this from the cli by piping the command through |json
from the CLI. this is also what we effectively expose via eAPI. this also also accessible via gnmi. you just feed the command in with the origin set to cli. note, the syntax w/gnmic is a little janky, but you get the idea.
krusty(~)% gnmic -a 192.168.1.21:6030 -u admin -p arista --insecure \
get --path "cli:/show version"
Get Response:
[
{