I have a command that takes in a number of days as an option. I did not see anywhere in the scheduler docs how to pass in options. Is it possible to pass options in to the command scheduler?
Here is my command with a days option:
php artisan users:daysInactiveInvitation --days=30
Scheduled it would be:
$schedule->command('users:daysInactiveInvitation')->daily();
Preferably I could pass in the option something along the lines of:
$schedule->command('users:daysInactiveInvitation')->daily()->options(['days'=>30]);