@protocolnebula/ts-openapi-generator
Version:
Build API and models from Swagger/OpenAPI to use in any project type
17 lines • 682 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const config_model_1 = require("./models/config.model");
const arguments_service_1 = require("./services/arguments.service");
const main_1 = require("./main");
config_model_1.config.parseYargs(arguments_service_1.argumentsInstance);
// FOLDERS INFORMATION
console.info('Output folders:');
console.table({
OUTPUT_PATH: config_model_1.config.outputPath,
BASE_FOLDER: config_model_1.config.exportPath,
MODELS: config_model_1.config.exportPath,
APIS: config_model_1.config.exportPath,
});
(0, main_1.generateAPIFiles)(config_model_1.config);
//# sourceMappingURL=cli.js.map