run custom command in laravel from controller code example
Example 1: laravel create command tutorial
$arguments = $this->arguments();
Example 2: laravel create command tutorial
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'email:send {user} {--queue}';