podhmo / ioknife

knives for io
0 stars 0 forks source link

ldjson output subcommand? #2

Open podhmo opened 5 years ago

podhmo commented 5 years ago

Somethiing like

$ run-command
foo
bar
boo

$ run-command | ioknife jsonld
{"msg": "foo", "timestamp": <>}
{"msg": "bar, "timestamp": <>}
{"msg": "boo", "timestamp": <>}