hydrogen icon indicating copy to clipboard operation
hydrogen copied to clipboard

Change order of prompts in CLI-based project setup

Open gfscott opened this issue 2 years ago • 0 comments

I think we can tweak the order of the prompts during setup. Currently it goes:

Prompt Notes
Data source Mock.shop vs. existing store. Why have this first?
Project name This is a natural first question IMO
Language (TS or JS) 👍🏻
CSS library 👍🏻
Install dependencies? A little odd for this to come in the middle of the flow, feels like a final step
h2 shortcut Same here
Route scaffolding? IMO we should just do this by default, with a --no-routes flag to opt out.
Market support? This is optional; I think all options that can be skipped should be grouped together.

So my proposed order of prompts would be this instead — where we group required (!) decisions up front, and back-load the skippable (?) options:

  1. Project name!
  2. Language!
  3. Data source!
  4. CSS Library?
  5. Route scaffolding?
  6. Market support?
  7. h2 shortcut?
  8. Install dependencies?

gfscott avatar Sep 14 '23 15:09 gfscott