run-in-all

A CLI tool to run the same npm-script in multiple directories in parallel or sequential.

Usage no npm install needed!

<script type="module">
  import runInAll from 'https://cdn.skypack.dev/run-in-all';
</script>

README

run-in-all

Codacy Badge npm version

A CLI tool to run the same npm-script in multiple directories in parallel or sequential.

Ex: run-in-all --yarn --parallel build server client test

Usage

run-in-all [command] [directories...]

Options:
      --help      Show help                                                                  [boolean]
      --version   Show version number                                                        [boolean]
  -a, --args      Run the command with args.                                    [string] [default: ""]
  -p, --parallel  Run the command in all directories in parallel.           [boolean] [default: false]
  -s, --silent    Run the command silently, without the command output.     [boolean] [default: false]
  -y, --yarn      Run the command with yarn.                                [boolean] [default: false]