"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = __importDefault(require("commander"));
const util_1 = require("../../util");
commander_1.default
    .name('hatch server-sdk')
    .option('-n, --name <name>', 'The server SDK package name. Defaults to <dependency>-sdk if '
    + 'generating from a dependency, else required', null)
    .option('-d, --dependency <dependency>', 'The hatch api dependency name to '
    + 'generate the OpenAPI spec', null)
    .option('-v, --ver <ver>', 'The hatch api dependency version to generate the '
    + 'OpenAPI spec. Defaults to \"latest\"', null)
    .option('-s, --spec <spec>', 'The location of the OpenAPI spec, as URL or file', null)
    .description('Creates a server-sdk project from an OpenAPI Specification')
    .action((0, util_1.serverSdkCreator)(__dirname, 'libraries'));
(0, util_1.runCommander)();
//# sourceMappingURL=command.js.map