/**
* Configure the command.
*
* @return void
*
* @since 4.1.0
*/
protected function configure() : void
{
$this->addOption('id', 'i', InputOption::VALUE_REQUIRED, 'The id of the task to run.');
$this->addOption('all', '', InputOption::VALUE_NONE, 'Run all due tasks. Note that this is overridden if --id is used.');
$help = "<info>%command.name%</info> run scheduled tasks.\n\t\t\nUsage: <info>php %command.full_name% [flags]</info>";
$this->setDescription('Run one or more scheduled tasks');
$this->setHelp($help);
}