Module: server-monitor

Main CLI that is run via the oneuptime-server-monitor command.
Author:
  • HackerBay, Inc.
Source:
See:

Members

(inner, constant) questions

The questions to get project id, api url, api key and monitor id.
Source:

Methods

(inner) checkParams(params) → {Promise}

Check cli params.
Parameters:
Name Type Description
params Array The params or questions of the cli.
Source:
Returns:
The cli params promise.
Type
Promise

(inner) getParamValue(params, name) → {Promise}

Get cli param value.
Parameters:
Name Type Description
params Array The params of the cli.
name string The name of the cli param.
Source:
Returns:
The cli param value promise.
Type
Promise