import React from 'react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/index'; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/index'; import { Button } from '@/components/ui/index'; import { MoreHorizontal } from 'lucide-react'; interface CLICommand { id: string; name: string; category: string; description: string; example: string; } interface CLICommandsListProps { commands: CLICommand[]; onRefresh?: () => void; isLoading?: boolean; onRun?: (command: CLICommand) => void; } export function CLICommandsList({ commands, onRefresh, isLoading, onRun, }: CLICommandsListProps) { return ( CLI Commands
Name Category Description Example Actions {commands.map((cmd) => ( {cmd.name} {cmd.category} {cmd.description} {cmd.example} ))}
); }