core-bundle/src/Command/AutomatorCommand.php
protected function configure(): void
    {
        $this
            ->setName('contao:automator')
            ->setDefinition([
                new InputArgument(
                    'task',
                    InputArgument::OPTIONAL,
                    sprintf("The name of the task:\n  - %s", implode("\n  - ", $this->getCommands()))
                ),
            ])
            ->setDescription('Runs automator tasks on the command line.')
        ;
    }
protected function configure(): void
    {
        $this
            ->setName('contao:automator')
            ->setDefinition([
                new InputArgument(
                    'task',
                    InputArgument::OPTIONAL,
                    sprintf("The name of the task:\n  - %s", implode("\n  - ", $this->getCommands()))
                ),
            ])
            ->setDescription('Runs automator tasks on the command line.')
        ;
    }
{@inheritdoc}