VarnaLab CLI Tool
JavaScript
Permalink
Failed to load latest commit information.
bin
lib
test
.editorconfig
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
package.json

README.md

@varnalab/cli

npm-version travis-ci coveralls-status

Install:

npm install -g @varnalab/cli

Help:

varnalab --help

Currenlty works only with Node v4.x:

nvm use 4

Execute a command:

varnalab [command] --help

~/.varnalab-cli

Format:

{
  "output": "clean",
  "timeout": 1000
}

varnalab-whois

Help:

varnalab-whois --help

Mikrotik config file format:

{
  "development": {
    "host": "", "user": "", "pass": "", "port": 5000
  },
  "staging": {
    // ...
  },
  "production": {
    // ...
  }
}

Basic usage:

varnalab-whois --config [file]

Crontab configuration:

*/10 * * * * NODE_ENV=production varnalab-whois --config [file] --output slack > /nginx/serve/location/varnalab-whois.json