This is how you "integrate" `jc` with Next Generation Shell ( https://github.com/ngs-lang/ngs ):
data = ``jc PROGRAM ARGS ...``
The double-backtick syntax runs the external program, `jc` in our case, and parses the output. It means that the "integration" is not `jc` specific.`data` is now structured data that comes from the parsed JSON.
Example (run from your shell):
ngs -pl '``jc ifconfig``.filter({"name": /docker/}).ipv4_addr'
Will print IPs of all docker interfaces, one IP per line