npm.io
0.0.1 • Published 9 years agoCLI

multiple-scripts

Licence
ISC
Version
0.0.1
Deps
6
Vulns
0
Weekly
0

multiple-scripts

Run commands on multiple folders at the same time.

Installation

npm install -g multiple-scripts

Usage

Example file tree structure:

root-folder
  > foo
  > bar
  > baz

If you'd like to run the scripts on root-folder/foo, root-folder/baz and root-folder/baz, then go to root-folder/.

Afterwards, you can use one of the following commands.

run-command

Runs a command and print the result.

ms run-command <command>
# Example: ms run-command cat ./package.json
npm

View the value of a property in the package.json.

ms npm <property>
# Example: ms npm dependencies.lodash
eslint

View the value of a property in the .eslintrc file.

ms eslint <property>
# Example: ms eslint rules