Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add cli support #115

Open
JxJPu9bD opened this issue Feb 6, 2025 · 1 comment · May be fixed by #121
Open

[Feature]: Add cli support #115

JxJPu9bD opened this issue Feb 6, 2025 · 1 comment · May be fixed by #121

Comments

@JxJPu9bD
Copy link

JxJPu9bD commented Feb 6, 2025

What problem does this feature solve?

At present, all components and blocks under the project can only be added to the project by copying and pasting. This is not engineering-friendly. I looked at how shadcn/ui is used, and compared with tremor and shadcn/ui, they can work well together, and tremor is also adding vercel. So, can I refer to the implementation of shadcn/ui to support cli to add components and blocks?

What does the proposed API look like?

Maybe something like this,

npx tremor add component xxx

npx tremor add block xxx

https://ui.shadcn.com/docs/components/button

@ieedan ieedan linked a pull request Feb 21, 2025 that will close this issue
14 tasks
@ieedan
Copy link

ieedan commented Feb 21, 2025

Working on a project called jsrepo that works great for stuff like this. This repo has a good structure so it makes it easy to integrate.

I have a fork for the PR you can use to test with:

jsrepo init github/ieedan/tremor/tree/jsrepo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants