1.1.3 • Published 5 years ago
multiplerun-same-tab v1.1.3
Run multiple commands on multiple terminals (or iTerm split panes)
Install
npm install multiplerun --save-devAnd add config to your package.json
{
"name": "some-package",
"scripts": {
"multiplerun-test": "multiplerun test"
},
"multiplerun": {
"test": [
"echo multiplerun!",
[
"echo hello",
"echo world"
]
]
}
}npm run multiplerun-testIf you have installed iTerm.app on your Mac. You can see like this

Or those commands will be executed via default terminal app (cmd.exe or Terminal.app)
Run in script
const multiplerun = require('multiplerun');
multiplerun([
'echo multiplerun!',
[
'echo hello',
'echo world'
]
]);API
multiplerun(layout, [basedir = process.cwd()])
1.1.3
5 years ago