capsule-ai-cli
Version:
The AI Model Orchestrator - Intelligent multi-model workflows with device-locked licensing
49 lines (43 loc) • 2.02 kB
JavaScript
import chalk from 'chalk';
export const helpCommand = {
name: 'help',
description: 'Show available commands',
alias: ['h', '?'],
async execute() {
const helpText = `
${chalk.bold('Available Commands:')}
${chalk.hex('#00FF00')('Chat Management:')}
${chalk.hex('#00FFFF')('/new')} Start a new chat
${chalk.hex('#00FFFF')('/clear')} Clear the screen
${chalk.hex('#00FFFF')('/delete')} Delete a previous chat
${chalk.hex('#00FFFF')('/exit')} Exit the program
${chalk.hex('#00FF00')('AI Configuration:')}
${chalk.hex('#00FFFF')('/model')} Switch AI model
${chalk.hex('#00FFFF')('/provider')} Switch AI provider
${chalk.hex('#00FFFF')('/local')} Use local models (Ollama, LM Studio, llama.cpp)
${chalk.hex('#00FFFF')('/keys')} Configure API keys
${chalk.hex('#00FFFF')('/orchestrator')} Configure orchestrator model preferences
${chalk.hex('#00FF00')('Usage & Analytics:')}
${chalk.hex('#00FFFF')('/context')} Show context stats
${chalk.hex('#00FFFF')('/compact')} Compact conversation history
${chalk.hex('#00FFFF')('/stats')} Show usage statistics
${chalk.hex('#00FFFF')('/cost')} Show cost summary
${chalk.hex('#00FF00')('Licensing:')}
${chalk.hex('#00FFFF')('/activate')} Activate Capsule with your activation code
${chalk.hex('#00FF00')('Developer Tools:')}
${chalk.hex('#00FFFF')('/benchmark')} Benchmark model performance
${chalk.hex('#00FFFF')('/task')} Execute a task with specific model (micro mode)
${chalk.hex('#00FF00')('Keyboard Shortcuts:')}
${chalk.hex('#FFFF00')('Shift+Tab')} Switch mode (agent/plan/orchestrator/auto)
${chalk.hex('#FFFF00')('Ctrl+C')} Exit
${chalk.hex('#FFFF00')('↑↓')} Scroll messages / Navigate history
${chalk.hex('#FFFF00')('Page Up/Down')} Fast scroll
${chalk.hex('#FFFF00')('Tab')} Complete command
${chalk.hex('#FFFF00')('Esc')} Cancel operation`;
return {
success: true,
message: helpText
};
}
};
//# sourceMappingURL=help.js.map