Rob and I migrated the Post Install Script of Peak over to Laravel Prompts (studio1902/statamic-peak#348).
So far so good and the prompts work as expected when installing Peak into an existing Statamic installation by running php please starter-kit:install studio1902/statamic-peak --local.
However, when running statamic new my-project studio1902/statamic-peak --local the prompts do not show up asking for input but apply the default value. I can reproduce the same behaviour when running php please starter-kit:install studio1902/statamic-peak --local --no-interaction (notice the --no-interaction).
I dumped the $options before they get passed into the starter kit installation but the --no-interaction is missing.
|
$statusCode = (new Please($this->output)) |
|
->cwd($this->absolutePath) |
|
->run('starter-kit:install', $this->starterKit, ...$options); |
Array
(
[0] => --cli-install
[1] => --clear-site
[2] => --local
)
Rob and I migrated the Post Install Script of Peak over to Laravel Prompts (studio1902/statamic-peak#348).
So far so good and the prompts work as expected when installing Peak into an existing Statamic installation by running
php please starter-kit:install studio1902/statamic-peak --local.However, when running
statamic new my-project studio1902/statamic-peak --localthe prompts do not show up asking for input but apply the default value. I can reproduce the same behaviour when runningphp please starter-kit:install studio1902/statamic-peak --local --no-interaction(notice the--no-interaction).I dumped the
$optionsbefore they get passed into the starter kit installation but the--no-interactionis missing.cli/src/NewCommand.php
Lines 550 to 552 in d320fbb