Explicitly define application commands

This commit is contained in:
Joseph Bielawski
2023-09-12 16:27:07 +02:00
committed by Jerry Ma
parent 52430cbdde
commit fa0740f216
3 changed files with 31 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ use Symfony\Component\Console\Input\InputArgument;
/**
* Modify config file: sort lib, ext, source by name.
*/
#[AsCommand('dev:sort-config', 'After config edited, sort it by alphabet', ['sort-config'])]
#[AsCommand('dev:sort-config', 'After config edited, sort it by alphabet', ['sort-config'], true)]
class SortConfigCommand extends BaseCommand
{
public function configure(): void