@amplience/dc-cli
Version:
Dynamic Content CLI Tool
22 lines (21 loc) • 879 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.handler = exports.builder = exports.desc = exports.command = void 0;
const cli_1 = require("../cli");
const yargs_command_builder_options_1 = __importDefault(require("../common/yargs/yargs-command-builder-options"));
const configure_1 = require("./configure");
exports.command = 'content-repository';
exports.desc = 'Content Repository';
const builder = (yargs) => yargs
.commandDir('content-repository', yargs_command_builder_options_1.default)
.options(configure_1.configureCommandOptions)
.config('config', cli_1.readConfig)
.demandCommand()
.help();
exports.builder = builder;
const handler = () => {
};
exports.handler = handler;