UNPKG

cloudcms-cli

Version:
28 lines (24 loc) 678 B
var helper = require("../../../helper"); var AbstractCommand = require("../../abstract"); class GetJobsSummaryCommand extends AbstractCommand { constructor() { super({ "group": "platform", "name": "get-jobs-summary", "description": "Retrieves a summary of the jobs waiting or executing in the job queue for the current platform", "schema": { "properties": [] } }); } handle(options, callback) { // call workhorse function helper.getJobsSummary(function(err) { callback(err); }); } } module.exports = GetJobsSummaryCommand;