cmllia
v0.1.1
Published
CLI to install Camellia UI components into your project
Readme
Camellia CLI
A command-line tool to easily install Camellia UI components into your project.
Camellia is a platform for frontend developers and UI/UX designers to share and reuse high-quality React components with live previews.
Installation
Global installation
npm install -g cmlliaUsing npx (without installation)
npx cmllia add <screen-id>Usage
Searching for components
cmllia search <query>Example:
cmllia search buttonThis will display a list of available components matching your query.
Adding components
cmllia add <component-slug>Example:
cmllia add buttonThis will:
- Fetch the component from Camellia’s component library.
- Create a
componentsdirectory in your current working directory (if it doesn’t exist). - Save the component as
components/<component-slug>.tsx. - Register the component in
.cmllia.jsonfor tracking.
Examples
Searching for components
cmllia search testOutput:
ℹ Searching for "test"...
Found components:
1. TestButton (test-button)
A test button component for your project.
Install: cmllia add test-button
2. TestScreen (test-screen)
A test screen component for your project.
Install: cmllia add test-screenRequirements
- Node.js >= 18.0.0
License
MIT
