2.0.7 • Published 5 years ago

@tww/terminus-maximus v2.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@tww/terminus-maximus npm version

Run concurrent command line commands in an organized and readable way

Installation

$ npm install --save @tww/terminus-maximus

Usage

  1. create a .terminusMaximus file (JSON), eg:

See the api config below for more about these options

{
  "errorHeight": 20,
  "scripts": {
    "ping": {
      "screensPerRow": 3,
      "commands": [
        {
          "label": "ping google",
          "command": "ping www.google.com",
          "screenConfig": {}
        },
        {
          "label": "ping microsoft",
          "command": "ping www.microsoft.com",
          "screenConfig": {}
        },
        {
          "label": "ping yahoo",
          "command": "ping www.yahoo.com",
          "screenConfig": {}
        },
        {
          "label": "ping reddit",
          "command": "ping www.reddit.com",
          "screenConfig": {}
        },
        {
          "label": "ping craigslist.com",
          "command": "ping www.craigslist.com",
          "screenConfig": {}
        },
        {
          "label": "ping ravelry",
          "command": "ping www.ravelry.com",
          "screenConfig": {}
        }
      ]
    },
    "http": {
      "commands": [
        {
          "label": "http",
          "command": "http-server",
          "screenConfig": {}
        },
        {
          "label": "ping",
          "command": "curl http://127.0.0.1:8080/",
          "screenConfig": {}
        }
      ]
    }
  }
}
2. add an npm script for your command, eg `ping`.
```js
//...
"scripts": {
  "ping" "termax ping"
}
//...
  1. run npm run ping and behold, your readable output of 6 pings.

logo

API

See our api

License

MIT © Eric Wooley

2.0.7

5 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago