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

CLI for generating new component stubs #59

Open
asgorobets opened this issue Oct 28, 2024 · 0 comments · May be fixed by #66
Open

CLI for generating new component stubs #59

asgorobets opened this issue Oct 28, 2024 · 0 comments · May be fixed by #66
Assignees

Comments

@asgorobets
Copy link
Collaborator

asgorobets commented Oct 28, 2024

Our component rules should be pretty well defined, but there is a bit of boilerplate creating new components from scratch.
Let's consider a CLI that takes a content type as input and scaffolds an integration component, with a fragment, both server and client components, with live preview and with component mapped in component registry.

I like something more interactive, with potential to choose content types instead of typing, I like Commander.js and Inquirer

See https://egmz.medium.com/building-a-cli-with-node-js-in-2024-c278802a3ef5#9df0 for example

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