The command line interface for ummon-server
The command line interface to the ummon server. Since
ummon-server only communicates of 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.
npm install -g ummon-cli
$ ummon --helpCommands:create Add a new task to Ummondelete Delete a Tasklog Show recent log output. Filter logs by using --collection, --task or --run (only one!)ps Show current worker counts and their pidstask Show the configuration for a task or group of tasks
url: The url where
ummon-serveris accepting connections
retries: The number of times
timeout: Time to wait
You can save all of the above settings in
~/.ummonrc so you don't have to type them in every time.
$ cat ~/.ummonrc
Warning! Obviously if you save your password, it will be saved in clear text. Use appropriate caution