UNPKG

@apillon/cli

Version:
19 lines 798 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createIndexingCommands = void 0; const indexing_service_1 = require("./indexing.service"); function createIndexingCommands(cli) { const indexing = cli .command('indexing') .description('Commands for deployment of indexers on Apillon platform'); indexing .command('deploy') .description('Deploy an indexer') .argument('<path>', 'path to indexer root folder') .requiredOption('-i, --indexer-uuid <uuid>', 'UUID of indexer') .action(async function (path) { await (0, indexing_service_1.deployIndexer)(path, this.optsWithGlobals()); }); } exports.createIndexingCommands = createIndexingCommands; //# sourceMappingURL=indexing.commands.js.map