Skip to content

Commit a1632d8

Browse files
author
phernandez
committed
chore: update llms.md for components cli tool
1 parent a2981a5 commit a1632d8

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

llms.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -754,33 +754,24 @@ Complex components often require specific composition:
754754

755755
## CLI Tool
756756

757-
Basic Components provides a CLI tool for installing individual components into your project. The CLI uses copier to handle component installation, providing features like:
757+
Basic Components provides a CLI tool for installing individual components into your project.
758+
It can be used via uvx without installing the `basic-components` package.
759+
The CLI uses `copier` to handle component installation, providing features like:
758760

759761
- Single component installation
760762
- Dependency resolution (coming soon)
761763
- Smart conflict handling
762-
- Change previews
763-
764-
### Installation
765-
766-
The CLI is distributed with the basic-components package:
767-
768-
```bash
769-
uv add basic-components
770-
```
771764

772765
### Usage
773766

774767
Initialize your project:
775768
```bash
776-
components init
769+
uvx --from basic-components components add <component>
777770
```
778771

779-
This creates the components directory structure at `components/ui` (configurable via components-dir arg).
780-
781-
Install a component:
772+
Example: Install a button component
782773
```bash
783-
components add button
774+
uvx --from basic-components components add button
784775
```
785776

786777
### Component Directory Structure
@@ -800,15 +791,6 @@ components/
800791
└── CloseIcon.jinja
801792
```
802793

803-
### Configuration
804-
805-
Components are installed using copier, which provides:
806-
807-
- Change previews before installation
808-
- Conflict resolution with diffs
809-
- Update capability for existing components
810-
- Preservation of local modifications
811-
812794

813795
## Reference Documentation
814796

0 commit comments

Comments
 (0)