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] create: templates #274

Closed
kevinwolfcr opened this issue Jan 14, 2020 · 1 comment
Closed

[cli] create: templates #274

kevinwolfcr opened this issue Jan 14, 2020 · 1 comment
Labels
note/duplicate This issue existed already scope/cli

Comments

@kevinwolfcr
Copy link
Contributor

What the init command creates for newcomers it's fine because that suggests some conventions to use and code examples. But what if I create multiple graphql-santa projects every day? Deleting generated code may be tedious.

So my proposal is: ask for a template selection on the setup steps, which may be something like:

  • world (basic example)
  • shopping card (advanced example with relations)
  • [inserta name here] (advanced example with many to many relations)
  • custom (enter a GitHub URL)

The cool part is that the latest option will allow the user to use a custom template for creating the Santa project, therefore, the community can grow more quickly.

@kevinwolfcr kevinwolfcr changed the title create: templates [cli] create: templates Jan 14, 2020
@jasonkuhrt
Copy link
Member

Yep we want something here. Duplicate of #160.

@jasonkuhrt jasonkuhrt added note/duplicate This issue existed already and removed duplicate labels Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
note/duplicate This issue existed already scope/cli
Projects
None yet
Development

No branches or pull requests

2 participants