pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

Move the Netlify config into a setup command instead of init #62

Closed pixelastic closed 3 years ago

pixelastic commented 4 years ago

The current norska init command does create all the file scaffolding, but it also configures Netlify. This seems a bit intrusive, and should rather be moved into another command, setup (same init and setup commands are already defined in aberlaas, so it makes a great mirror)

pixelastic commented 3 years ago

I'm now unsure we need to move that to another command. Maybe instead ask if we should configure Netlify right away?

pixelastic commented 3 years ago

But that means if a user says "no", we should provide a way to rerun the Netlify configuration from the command line. I'm not sure what the CLI API should be for that, and don't have a strong need for this, so I'm going to close it until I have more information.

pixelastic commented 3 years ago

Argh, I finally implemented this somehow. norska init will ask the user for confirmation before configuring Netlify (Enter or CTRL-C)