This is a post to clarify more details for calling commands in Laravel schedule and pass parameters to it. This is the command class App\Console\Commands\PullUsersCommand.php
signature :
protected $signature = 'pull:users {startTime} {endTime} {minutes=10} {--flag} {--star=}';
You could call it in App\Console\Kernel.php
like this
$schedule->command('pull:users', [
time(), // captured with $this->argument('startTime') in command class.
time(), // captured with $this->argument('endTime') in command class.
30, // captured with $this->argument('minutes') in command class.
'--flag',// should be without any value, just the option name, and would be captured by $this->option('minutes').
'--star'=>12, // would be captured by $this->option('star').
])->daily();
It should be okay with Artisan::call
facade too.