An application laucher by Griffin PowerMate
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
LICENSE
README.md
config.example.json
package.json
powermate.png

README.md

node-powermate-launcher

An application laucher by Griffin PowerMate

Installation

$ npm install node-powermate-launcher

Help

$ npl --help

Usage: app [options]

Options:

  -h, --help                     output usage information
  -V, --version                  output the version number
  -d, --debug                    enables the debug mode
  -c, --config <path>            configuration file path to setup several servers

Configuration

An example of config file:

[
  {
    "label": "Bash commands"
  , "commands": [
      {
        "name": "List"
      , "exec": "ls -la"
      }
    , {
        "name": "Current folder"
      , "exec": "pwd"
      }
    ]
  }
, {
    "label": "Rymshots"
  , "commands": [
      {
        "name": "Rimshot"
      , "exec": "cvlc --novideo ./rimshot.mp3"
      }
    , {
        "name": "Money"
      , "icon": "./money_icon.png"
      , "exec": "cvlc --novideo ./cash-register-05.wav"
      }
    , {
        "name": "Money"
      , "icon": "./mario-coin.png"
      , "exec": "cvlc --novideo ./mario-coin.mp3"
      }
    ]
  }
]

License

Check the LICENSE file