cloudcms-cli
Version:
Cloud CMS Command-Line client
28 lines (24 loc) • 622 B
JavaScript
var helper = require("../../../helper");
var AbstractCommand = require("../../abstract");
class PlatformInfoCommand extends AbstractCommand
{
constructor()
{
super({
"group": "platform",
"name": "info",
"description": "Returns information about the current tenant platform",
"schema": {
"properties": []
}
});
}
handle(options, callback)
{
// call workhorse function
helper.getPlatformInfo(function(err) {
callback(err);
});
}
}
module.exports = PlatformInfoCommand;