import { Card } from "@/components/ui/card"; import { TerminalComponent } from "@/components/ui/terminal"; import { Terminal, Play, Settings } from "lucide-react"; export function CommandsSection() { const coreCommands = [ { command: "gemma-phi2-cli init [path]", description: "Initialize or update index from target directory", color: "text-accent" }, { command: "gemma-phi2-cli search [query]", description: "Semantic lookup returning file names and scores", color: "text-accent" }, { command: "gemma-phi2-cli ask [question]", description: "Retrieval + generation in one step", color: "text-accent" }, { command: "gemma-phi2-cli serve", description: "Launch local API server for integrations", color: "text-accent" }, { command: "gemma-phi2-cli commit [--preview|--apply]", description: "Generate commit messages from staged changes", color: "text-accent" }, { command: "gemma-phi2-cli commit --dry-run", description: "Show file count, chunks, and token estimates", color: "text-accent" } ]; const utilityCommands = [ { command: "gemma-phi2-cli status", description: "Show current configuration and model status", color: "text-accent" }, { command: "gemma-phi2-cli config [key] [value]", description: "Get or set configuration parameters", color: "text-accent" }, { command: "gemma-phi2-cli clear", description: "Clear vector store and cached embeddings", color: "text-accent" }, { command: "gemma-phi2-cli --help", description: "Display detailed help and usage examples", color: "text-accent" }, { command: "gemma-phi2-cli commit --preview", description: "Preview generated commit message without applying", color: "text-accent" }, { command: "gemma-phi2-cli config --list-presets", description: "Show available commit style presets", color: "text-accent" } ]; return (

CLI Commands

Core Commands

{coreCommands.map((cmd, index) => (
{cmd.command}
{cmd.description}
))}

Utility Commands

{utilityCommands.map((cmd, index) => (
{cmd.command}
{cmd.description}
))}
); }