UNPKG

@spec2ts/openapi

Version:

Utility to convert OpenAPI v3 specifications to Typescript using TypeScript native compiler

10 lines (9 loc) 317 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const yargs = require("yargs"); const command_1 = require("../cli/command"); yargs .command(command_1.usage, command_1.describe, command_1.builder, command_1.handler) .help("help", "Show help usage") .demandCommand() .argv;