"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildCli = void 0;
const yargs_1 = __importDefault(require("yargs"));
const serve_1 = require("./serve");
const buildCli = (args) => {
    return yargs_1.default(args || process.argv.slice(2))
        .command(serve_1.serveCommand)
        .demandCommand()
        .help();
};
exports.buildCli = buildCli;
