UNPKG

alwaysai

Version:

The alwaysAI command-line interface (CLI)

25 lines 891 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setPipelinesCliLeaf = void 0; const alwayscli_1 = require("@alwaysai/alwayscli"); const cli_inputs_1 = require("../../../cli-inputs"); const analytics_1 = require("../../../components/app/analytics"); exports.setPipelinesCliLeaf = (0, alwayscli_1.CliLeaf)({ name: 'set-pipelines', description: 'Manage analytics pipelines for the application', namedInputs: { yes: cli_inputs_1.yesCliInput }, positionalInput: (0, alwayscli_1.CliStringArrayInput)({ description: 'list of uuids to set', required: false, placeholder: '<uuid1> <uuid2> ...' }), async action(inputs, { yes }) { await (0, analytics_1.setAnalyticsPipelinesComponent)({ yes: yes || false, inputs }); } }); //# sourceMappingURL=pipelines.js.map