@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
28 lines (21 loc) • 579 B
JavaScript
/**
* Cache Sync CLI Entry Point
* Wraps the enhanced cache sync functionality
*/
const { EnhancedCacheSyncCLI } = require('./cache-sync-enhanced.js');
async function main() {
const cli = new EnhancedCacheSyncCLI();
try {
// Parse arguments and run
const args = process.argv.slice(2);
await cli.execute(['cache-sync-enhanced', ...args]);
} catch (error) {
console.error('Cache sync failed:', error.message);
process.exit(1);
}
}
if (require.main === module) {
main().catch(console.error);
}
module.exports = { main };