UNPKG

@axway/axway-central-cli

Version:

Manage APIs, services and publish to the Amplify Marketplace

36 lines (35 loc) 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.install = void 0; var _Renderer = _interopRequireDefault(require("../../common/Renderer")); var _types = require("../../common/types"); var _agents = require("./agents"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } const install = exports.install = { action({ console }) { const renderer = new _Renderer.default(console); renderer.error('Error: You must specify the type of the resource to install.'); console.log(`\nUSAGE: To install agents in interactive mode:\t"axway engage install agents" `); process.exit(1); }, commands: { agents: _agents.agents }, desc: 'Install additional platform resources', args: [{ name: 'args', desc: 'Command arguments, run "axway engage install" to see the examples', multiple: true, required: false, type: 'string' }], options: { ..._types.commonCmdArgsDescription } };