"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var path = tslib_1.__importStar(require("path"));
var fs = tslib_1.__importStar(require("fs"));
exports.pluginsPath = path.join(__dirname, '..', 'plugins');
exports.generatorPath = path.join(exports.pluginsPath, 'swagger-codegen-cli.jar');
exports.DefaultBasePath = '@empty@';
exports.SmTmpDir = path.join(__dirname, '..', 'tmp');
tslib_1.__exportStar(require("./consts"), exports);
exports.basePathToFileName = function (path) {
    return encodeURIComponent(process.cwd() + "_" + (path || exports.DefaultBasePath));
};
if (!fs.existsSync(exports.SmTmpDir)) {
    fs.mkdirSync(exports.SmTmpDir);
}
//# sourceMappingURL=init.js.map