UNPKG

@apillon/cli

Version:
16 lines 677 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.deployIndexer = void 0; const sdk_1 = require("@apillon/sdk"); const utils_1 = require("../../lib/utils"); async function deployIndexer(path, optsWithGlobals) { await (0, utils_1.withErrorHandler)(async () => { console.log(`Deploying indexer: ${path}`); await new sdk_1.Indexing(optsWithGlobals) .indexer(optsWithGlobals.indexerUuid) .deployIndexer(path); console.log(`Indexer deployment successfully started! Check Apillon console for status.`); }); } exports.deployIndexer = deployIndexer; //# sourceMappingURL=indexing.service.js.map