time2code
v0.3.3
Published
CLI for quick installation of components from our Design System
Maintainers
Readme
time2code
A CLI tool for adding componnets to your project.
Usage
Init
Use the init command to initialize dependencies for a new project. This can be skiped if the project was created using create-t2c-app.
The init command installs dependencies, adds the cn util and configures globals.css for your project.
npx time2code initAdd
Use the add command to add componnets to your project.
The add command adds a component to your project and installs all required dependencies.
npx time2code add [component]Example
npx time2code add alert-dialogYou can also run the command without any arguments to view a list of all available components:
npx time2code addDocumentation
Vists https://design.time2code.dev/docs/primitives/cli to view the documentation.
License
Licensed under the MIT license
