I have want to pipe the output of my nodejs file like node example.js|node_modules/bunyan/bin/bunyan
for better readability.
How can I specify this in the yaml?
I tried several things like:
command:
- node
args:
- index.js | node_modules/bunyan/bin/bunyan
or
command:
- node
args:
- index.js
- node_modules/bunyan/bin/bunyan
or
command:
- node index.js | node_modules/bunyan/bin/bunyan
but none of it worked.
Is it possible and if yes, whats the correct way to do it?