ummon-cli

The command line interface for ummon-server

npm install ummon-cli
60 downloads in the last month

ummon-cli

NPM version Build Status Dependency Status

The command line interface to the ummon server. Since ummon-server only communicates over an HTTP API, you can install this module on any computer and as long as you have the url and a user and pass you can interact with it.

Installation

npm install -g ummon-cli

Usage

$ ummon --help

Commands:

   create           Add a new task to Ummon
   delete           Delete a Task
   log              Show recent log output. Filter logs by using --collection, --task or --run (only one!)
   ps               Show current worker counts and their pids
   task             Show the configuration for a task or group of tasks

Default options for every command

  • url: The url where ummon-server is accepting connections
  • retries: The number of times
  • timeout: Time to wait
  • username
  • password

The .ummonrc file

You can save all of the above settings in ~/.ummonrc so you don't have to type them in every time.

$ cat ~/.ummonrc

{
  "--url": "http://localhost:8888",
  "--username": "user",
  "--password": "password"
}

Warning! Obviously if you save your password, it will be saved in clear text. Use appropriate caution

Examples

npm loves you