tutorialkit icon indicating copy to clipboard operation
tutorialkit copied to clipboard

CLI: Split `Install dependencies and start project?` into two separate prompts

Open AriPerkkio opened this issue 1 year ago • 1 comments

Is your feature request related to a problem?

From @sulco:

Install dependencies and start project.

This should not be a single question. These are absolutely different actions and a developer should be able to install the dependencies as a wrap up of installation process in their terminal app but then open the dev server in their vscode. Making these two a single action might get you a tutorial in a browser fastest, but if you're actually intending to work on the code, this is a super confusing dx.

Describe the solution you'd like.

CLI should prompt two separate questions:

  • Install dependencies?
  • Start the project?

Additional context

https://github.com/stackblitz/tutorialkit/blob/bc0fde26025465f5ab1fa71613d92293f0dafa89/packages/cli/src/commands/create/install-start.ts#L36-L39

AriPerkkio avatar Jul 25 '24 05:07 AriPerkkio