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

Do not create repo until complete #20

Open
ntwigs opened this issue Oct 13, 2018 · 1 comment
Open

Do not create repo until complete #20

ntwigs opened this issue Oct 13, 2018 · 1 comment

Comments

@ntwigs
Copy link
Contributor

ntwigs commented Oct 13, 2018

I believe that the repo should not be created until the complete process of setting everything up has been completed.

  • Choose repo settings ☺️
  • Choose library / no-library 🍻
  • Present the user with the selected settings 🍷
  • Ask the user if that is ok 👍
  • If yes, create everything, else exit 🎉

This would make it:

  • Easier to work with, since you could test everything before actually creating something.
  • Avoid crashing and still creating repos. If the script crashes in the end since something went wrong with e.g. CRA, then the repo should not be created.
@alexdriaguine
Copy link
Owner

Sounds good. Also could be nice to show some feedback to the user, and use one of those fancy cli spinners 😁

something like
" 🍭 Setting up local folder..."
" 🍭 Generating boilerplate..."
" 🍭 Creating remote repo..."
" ✔️ hack away!"

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