bejamas
v0.4.0
Published
A CLI for adding components to your project.
Maintainers
Readme
bejamas
A CLI for adding components to your project.
Usage
Use the init command to initialize dependencies for a new project.
The init command installs dependencies, adds the cn util, and configures CSS variables for the project.
Bejamas currently runs exact shadcn v4.6.0 for managed CLI commands. The Bejamas-specific init, apply, and preset flows preserve Astro preset switching, style support, and the legacy --base-color option.
npx bejamas initadd
Use the add command to add components to your project.
The add command adds a component to your project and installs all required dependencies.
npx bejamas add [component]Example
npx bejamas add buttonYou can also run the command without any arguments to view a list of all available components:
npx bejamas addapply
Use the apply command to switch an existing project to a new preset.
npx bejamas apply --preset <preset>
npx bejamas apply <preset> --only theme,fontpreset
Use the preset command to decode preset codes, create share URLs, open presets in the builder, or resolve the active preset from an existing project.
npx bejamas preset decode <preset>
npx bejamas preset url <preset>
npx bejamas preset resolveDocumentation
Visit https://ui.bejamas.com/docs/cli to view the documentation.
License
Licensed under the MIT license.
