aicm
Version:
A TypeScript CLI tool for managing AI IDE rules across different projects and teams
23 lines (22 loc) • 782 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.install = install;
exports.checkWorkspacesEnabled = checkWorkspacesEnabled;
const install_1 = require("./commands/install");
const config_1 = require("./utils/config");
/**
* Install AICM rules based on configuration
* @param options Installation options
* @returns Result of the install operation
*/
async function install(options = {}) {
return (0, install_1.install)(options);
}
/**
* Check if workspaces mode is enabled without loading all rules/presets
* @param cwd Current working directory (optional, defaults to process.cwd())
* @returns True if workspaces mode is enabled
*/
async function checkWorkspacesEnabled(cwd) {
return (0, config_1.checkWorkspacesEnabled)(cwd);
}