neobrutal
v0.3.0
Published
CLI for adding NeoBrutal UI components to your project
Maintainers
Readme
neobrutal-ui
CLI for adding NeoBrutal UI components to your project.
Usage
Initialize your project
npx neobrutal initThis will:
- Create a
components.jsonconfiguration file - Set up the
cnutility function - Create the required directory structure
Add components
npx neobrutal add button
npx neobrutal add card dialog input
npx neobrutal add --allList available components
npx neobrutal listCheck for updates
npx neobrutal diff buttonCommands
| Command | Description |
| --------- | ------------- |
| init | Initialize your project and install dependencies |
| add [components...] | Add components to your project |
| list | List all available components |
| diff <component> | Show differences between local and registry version |
Options
Global Options
| Option | Description |
| -------- | ------------- |
| -c, --cwd <cwd> | The working directory (defaults to current directory) |
| -h, --help | Display help for command |
| -v, --version | Display the version number |
Add Options
| Option | Description |
| -------- | ------------- |
| -y, --yes | Skip confirmation prompt |
| -o, --overwrite | Overwrite existing files |
| -a, --all | Add all available components |
Init Options
| Option | Description |
| --------- | ------------- |
| -y, --yes | Skip confirmation prompt |
| -f, --force | Force overwrite of existing configuration |
License
MIT
