Skip to content
kmalakoffPublic

About

Run commands in parallel (dad / dis-and-dat) or sequentially (dtd / dis-then-dat)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

dis-dat

Run shell commands in parallel with dad or sequentially with dtd.

Install

npm install --global dis-dat

Use

# 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.

About

Run commands in parallel (dad / dis-and-dat) or sequentially (dtd / dis-then-dat)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages