UNPKG

liveperson-functions-cli

Version:
33 lines 987 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Add = void 0; const core_1 = require("@oclif/core"); const create_view_1 = require("../../view/create.view"); class Add 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 Add */ async run() { this.view.showMessage(this.msg); } } exports.Add = Add; Add.flags = { help: core_1.Flags.help({ char: 'h', description: 'Show help for the Add command', }), }; Add.description = 'Add and change configurations of your account'; Add.strict = false; Add.examples = [ '> <%= config.bin %> add:domain "*.liveperson.com"', ]; //# sourceMappingURL=index.js.map