Skip to content

Commit

Permalink
Fix optional name argument. Should be required.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Dec 8, 2020
1 parent 22444aa commit a40ab76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function configure()
$this
->setName('new')
->setDescription('Create a new Statamic application')
->addArgument('name', InputArgument::OPTIONAL)
->addArgument('name', InputArgument::REQUIRED)
->addOption('starter', null, InputOption::VALUE_OPTIONAL, 'Install a specific starter kit', false)
->addOption('v2', null, InputOption::VALUE_NONE, 'Create a legacy Statamic v2 application (not recommended)')
->addOption('force', 'f', InputOption::VALUE_NONE, 'Force install even if the dirctory already exists');
Expand Down

0 comments on commit a40ab76

Please sign in to comment.