2.0.0-alpha.1 • Published 4 years ago

multi-shell v2.0.0-alpha.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

multi-shell


dependencies Status devDependencies Status

A tool to run multiple shell in parallel.

Install

npm install multi-shell

Usage

with javascript

import MutilShell from 'multi-shell'

new MutilShell({
  baseDir: '~/workspace/',
  tasks: [
    'cd a/ && npm run dev',
    'cd b/ && npm run dev'
  ]
}).run()

with global shell

yarn global add multi-shell

m-sh "cd node_project/ && npm run dev" "cd your_path/ && node serve.js" --baseDir xxx

# generate a config file
m-sh init
# use config file
m-sh -c ./tasks.conf.js # or json

with npm scripts

{
  "dev": "m-sh 'npm run watch:a' 'npm run watch:b'",
  "watch:a": "...",
  "watch:b": "..."
}
2.0.0-alpha.1

4 years ago

2.0.0-alpha.0

4 years ago

1.1.0

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago