Runsome
Run some cli
and get output. Good for testing.
Install
npm i runsome
How to use?
const runsome = require('runsome');
runsome('node', '-v');
// returns
'v13.5.0';
// runsome already curried
const run = runsome('node');
run('-v');
// returns
'v13.5.0';
License
MIT