You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

multiplerun-same-tab

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiplerun-same-tab

Run multiple commands on multiple terminals (or iTerm split panes)

1.1.3
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Run multiple commands on multiple terminals (or iTerm split panes)

DeepScan grade

Install

npm install multiplerun --save-dev

And 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-test

If you have installed iTerm.app on your Mac. You can see like this

iTerm Example

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()])

FAQs

Package last updated on 08 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts