statamic / cli

Install and manage your Statamic projects from the command line.
71 stars 19 forks source link

Allow starter kit installer interactivity #56

Closed jesseleite closed 1 year ago

jesseleite commented 1 year ago

After releasing https://github.com/statamic/cms/pull/6792, we noticed that starter-kit:install is run non-interactively, suppressing any user input prompts in a starter kit's post-install hook. This PR fixes this.

We're also removing the 'temporary' comment on --cli-install, because the starter kit installer should never handle the creation of a super user when using this cli installer. It needs to be here anyway, for when installing statamic/statamic without a starter kit.

Note: The above-mentioned post-install hook interactivity doesn't work in Windows due to the lack of TTY support in Windows. For these situations, we instead output any cached post-install instructions passed along by statamic/cms...

CleanShot 2022-10-04 at 17 48 46