UNPKG

ai-atharva-cli

Version:

šŸ¤– Gemini AI-powered interactive resume CLI with real AI responses! Features Google Gemini integration, comprehensive technical explanations, slash commands, and the exact Gemini CLI design. Perfect for showcasing Atharva Sawant's skills to Summer 2025 re

55 lines (42 loc) • 2.09 kB
const Display = require('../utils/display'); const resumeData = require('../data/resume'); class ProjectsCommand { constructor(options = {}) { this.display = new Display(options); } async execute() { const { projects } = resumeData; console.log(this.display.createSectionHeader('Featured Projects', 'šŸš€')); console.log(); // Show project overview projects.forEach((project, index) => { console.log(`${index + 1}. ${this.display.highlight(project.name, 'primary')} (${project.category})`); console.log(` ${project.description}`); console.log(` ${this.display.highlight('Status:', 'info')} ${project.status}`); console.log(); }); // Show detailed view of featured project const featuredProject = projects[0]; // Atharva CLI await this.showProjectDetail(featuredProject, 'Featured Project'); console.log(); console.log(this.display.highlight('šŸ’” Interactive exploration:', 'info')); console.log(' • atharva chat -m "Tell me about the Atharva CLI project"'); console.log(' • atharva chat -m "What technologies did you use?"'); console.log(' • atharva chat -m "Show me your GitHub projects"'); } async showProjectDetail(project, title) { const projectContent = ` ${this.display.highlight(project.name, 'primary')} - ${project.category} ${project.description} ${this.display.highlight('✨ Key Features:', 'info')} ${this.display.formatList(project.features, 'āœ“', 'green')} ${this.display.highlight('šŸ› ļø Technologies:', 'info')} ${project.technologies.map(tech => this.display.createTechBadge(tech)).join(' ')} ${this.display.highlight('šŸ“Š Status:', 'info')} ${project.status} ${project.github ? `\nšŸ”— ${this.display.highlight('GitHub:', 'info')} ${project.github}` : ''} ${project.demo ? `\n🌐 ${this.display.highlight('Demo:', 'info')} ${project.demo}` : ''} `; console.log(this.display.createBox(projectContent.trim(), `šŸš€ ${title}`)); } } module.exports = ProjectsCommand;