multiple-scripts
v0.0.1
Published
Run commands on multiple folders at the same time.
Downloads
12
Readme
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