dis-dat
v1.5.1
Published
Run commands in parallel (dad / dis-and-dat) or sequentially (dtd / dis-then-dat)
Maintainers
Readme
dis-dat
Run shell commands in parallel with dad or sequentially with dtd.
Install
npm install --global dis-datUse
# Start both commands at once.
dad "npm test" "npm run lint"
# Run the second command only if the first succeeds.
dtd "npm install" "npm test"Both commands print each command and return a non-zero exit status when a command fails. Quote each command so its arguments stay together. The package also exports a promise and callback API for running command strings from Node.js.
Documentation
See the API documentation for concurrency, streaming, and programmatic usage.
