1Artisan::command('build {project}', function ($project) {
2 $this->info("Building {$project}!");
3})->describe('Build the project');
1/**
2 * The name and signature of the console command.
3 *
4 * @var string
5 */
6protected $signature = 'email:send {user} {--queue}';
1use App\Models\User;
2use App\Support\DripEmailer;
3
4Artisan::command('email:send {user}', function (DripEmailer $drip, $user) {
5 $drip->send(User::find($user));
6});
1/**
2 * The name and signature of the console command.
3 *
4 * @var string
5 */
6protected $signature = 'email:send {user}';