@twelvehart/envctl
Version:
Environment variable context manager for development workflows
15 lines • 525 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfig = void 0;
const tslib_1 = require("tslib");
const path_1 = tslib_1.__importDefault(require("path"));
const os_1 = tslib_1.__importDefault(require("os"));
const getConfig = () => {
const configDir = path_1.default.join(os_1.default.homedir(), '.envctl');
return {
configDir,
profilesDir: path_1.default.join(configDir, 'profiles'),
};
};
exports.getConfig = getConfig;
//# sourceMappingURL=config.js.map