0.0.1 • Published 7 years ago

multiple-scripts v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

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