growthbook
Version:
The GrowthBook command-line interface (CLI) for working with the GrowthBook A/B testing, feature flagging, and experimentation platform
15 lines (14 loc) • 661 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getGrowthBookConfigFilePath = exports.getGrowthBookConfigDirectory = void 0;
const environment_1 = require("./environment");
function getGrowthBookConfigDirectory() {
const homeDirectory = environment_1.Environment.getHomeDirectory();
return homeDirectory + '/.growthbook';
}
exports.getGrowthBookConfigDirectory = getGrowthBookConfigDirectory;
function getGrowthBookConfigFilePath() {
const growthBookDirectory = getGrowthBookConfigDirectory();
return growthBookDirectory + '/config.toml';
}
exports.getGrowthBookConfigFilePath = getGrowthBookConfigFilePath;