UNPKG

liveperson-functions-cli

Version:
33 lines 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Create = void 0; const core_1 = require("@oclif/core"); const create_view_1 = require("../../view/create.view"); class Create extends core_1.Command { constructor() { super(...arguments); this.msg = 'Use --help to get more information on how to use the create command'; this.view = new create_view_1.CreateView(); } /** * Runs the create command and parses the passed functions * @returns {Promise<void>} - create command * @memberof Function */ async run() { this.view.showMessage(this.msg); } } exports.Create = Create; Create.flags = { help: core_1.Flags.help({ char: 'h', description: 'Show help for the create command', }), }; Create.description = 'Create functions locally and schedules remotely'; Create.strict = false; Create.examples = [ '> <%= config.bin %> create:function exampleFunction -e controllerbot_messaging_new_conversation', ]; //# sourceMappingURL=index.js.map