# @memoro/ui CLI CLI tool for copying UI components into your app (shadcn-style). ## Installation ```bash npm install -g @memoro/ui ``` Or use directly with npx: ```bash npx @memoro/ui add button ``` ## Commands ### `add ` Add a component to your project. ```bash memoro-ui add button memoro-ui add text memoro-ui add card ``` Options: - `-y, --yes` - Skip confirmation prompts The CLI will: 1. Check if the component exists in the registry 2. Resolve and install dependencies automatically 3. Copy component files to your `components/` directory 4. Show import instructions ### `list` List all available components. ```bash memoro-ui list ``` Options: - `-c, --category ` - Filter by category (ui, navigation) Shows: - All available components - Which components are already installed (✓) - Component descriptions - Dependencies ## How it Works This CLI follows the **shadcn** approach: 1. **No NPM dependencies** - Components are copied into your project 2. **Full control** - You own the code, modify as needed 3. **Dependencies** - Automatically installs component dependencies 4. **Type-safe** - All components are fully typed with TypeScript ## Component Structure Components are copied to: ``` your-project/ └── components/ ├── ui/ │ ├── Button/ │ │ ├── Button.tsx │ │ ├── index.ts │ │ └── README.md │ ├── Text/ │ └── ... └── navigation/ └── ... ``` ## Import Pattern ```tsx import { Button } from '@/components/ui/Button'; import { Text } from '@/components/ui/Text'; function MyScreen() { return