ai-expert
Version:
AI Expert CLI - Advanced management system for specialized Claude assistants
22 lines • 637 B
JavaScript
import { Command } from 'commander';
import chalk from 'chalk';
export function configCommand(storage) {
const config = new Command('config');
config
.description('Manage configuration')
.alias('cfg');
config
.command('show')
.description('Show current configuration')
.action(async () => {
try {
const cfg = await storage.getConfig();
console.log(JSON.stringify(cfg, null, 2));
}
catch (error) {
console.error(chalk.red('❌ Error:'), error.message);
}
});
return config;
}
//# sourceMappingURL=config.js.map