Skip to content

Commit

Permalink
add "experimental" wording and adjust option position to match breeze…
Browse files Browse the repository at this point in the history
… installer
  • Loading branch information
daleweaver777 committed Aug 11, 2023
1 parent 27b98c0 commit 52959de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function configure()
->addOption('organization', null, InputOption::VALUE_REQUIRED, 'The GitHub organization to create the new repository for')
->addOption('breeze', null, InputOption::VALUE_NONE, 'Installs the Laravel Breeze scaffolding')
->addOption('dark', null, InputOption::VALUE_NONE, 'Indicate whether Breeze or Jetstream should be scaffolded with dark mode support')
->addOption('typescript', null, InputOption::VALUE_NONE, 'Indicate whether Breeze should be scaffolded with Typescript support')
->addOption('typescript', null, InputOption::VALUE_NONE, 'Indicate whether Breeze should be scaffolded with Typescript support (experimental)')
->addOption('ssr', null, InputOption::VALUE_NONE, 'Indicate whether Breeze should be scaffolded with Inertia SSR support')
->addOption('jet', null, InputOption::VALUE_NONE, 'Installs the Laravel Jetstream scaffolding')
->addOption('stack', null, InputOption::VALUE_OPTIONAL, 'The Breeze / Jetstream stack that should be installed')
Expand Down Expand Up @@ -297,9 +297,9 @@ protected function promptForBreezeOptions(InputInterface $input)
collect(multiselect(
label: 'Would you like any optional features?',
options: [
'typescript' => 'Typescript',
'dark' => 'Dark mode',
'ssr' => 'Inertia SSR',
'typescript' => 'Typescript (experimental)',
],
default: array_filter([
$input->getOption('typescript') ? 'typescript' : null,
Expand Down

0 comments on commit 52959de

Please sign in to comment.