-
Couldn't load subscription status.
- Fork 699
create-spectacle prompts
#1195
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
create-spectacle prompts
#1195
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In file-writers.ts let's remove await rm(outPath, { recursive: true, force: true }); which deletes the directory no matter what.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great but let's remove mdx for now since it doesn't generate anything yet. That's the last part to implement for both flags and prompts.
* Initial prompts setup * Overwrite flags * Update e2e tests * Add package README, allow for prompt bypass for onepage if no port provided * Remove mdx as option * Explicate boolean logic a bit * Add changeset * Remove mdx from README
create-spectaclepromptsThis PR adds
promptsto thecreate-spectaclepackage, so that users do not need to remember flags (although flags are still available). Some things to note:Prompt flow
All flags, no prompts