0.0.19 • Published 5 years ago
conrun v0.0.19
conrun
concurrent run commands help tool
Install
npm i conrun -gExample
- help message
> conrun --help
Usage: conrun
  --command: "{\"command\": [\"ls\"], \"options\": {}}"
  --only: only run command
  --sequence
  --config: config file path
  --i: interactive mode
  --ws: log window size
  --logFile: log file
Options:
  --help     Show help                  [boolean]
  --version  Show version number        [boolean]- simple example
Create a config file:
{
  "commands": [{
    "command": ["ping", "google.com"]
  }, {
    "command": ["ls"]
  }],
  "options": {
    "windowSize": 10,
    "interactive": true
  }
}Run command:
> conrun --config path_to_configRun help after you get prompt to see all commands.
[conrun interactive window]
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=9 ttl=37 time=7.03 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=10 ttl=37 time=6.98 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=11 ttl=37 time=6.97 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=12 ttl=37 time=7.67 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=13 ttl=37 time=6.78 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=14 ttl=37 time=6.37 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=15 ttl=37 time=7.03 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=16 ttl=37 time=7.19 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=17 ttl=37 time=9.16 ms
[conrun-0] 64 bytes from sb-in-f100.1e100.net (74.125.130.100): icmp_seq=18 ttl=37 time=6.82 ms
> help
conrun commands:
    clear:  clear comand log
    list:   show current command status
    run:    run a command (only when the command is not running). run all to run all commands.
    stop:   stop a running command. stop all to stop all commands.kj0.0.19
5 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago