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

Add flags to control options in create-svelte #7064

Closed
IanVS opened this issue Sep 28, 2022 · 2 comments
Closed

Add flags to control options in create-svelte #7064

IanVS opened this issue Sep 28, 2022 · 2 comments

Comments

@IanVS
Copy link

IanVS commented Sep 28, 2022

Describe the problem

I would like to add a reproduction generator in storybook for sveltekit + storybook projects, which requires me to provide a command to run that will bootstrap a sveltekit project. Currently, it seems there's no way to run create svelte without following all of the prompts interactively.

Describe the proposed solution

I'd like to add command-line flags like --template, --types=none, and --eslint=false which, if provided, skip the prompts for those questions and allow an "unattended" bootstrap of a sveltekit project.

This could be done with commander, or optionator, or whatever other tool y'all prefer.

Alternatives considered

No response

Importance

i cannot use SvelteKit without it

Additional Information

No response

@Conduitry
Copy link
Member

This has come up a number of times and isn't something we're interested in adding for the reasons outlined in #6117 (comment)

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2022
@IanVS
Copy link
Author

IanVS commented Sep 28, 2022

OK, thanks for the quick response, even though it's disappointing.

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

No branches or pull requests

2 participants