1Artisan::command('build {project}', function ($project) {
2 $this->info("Building {$project}!");
3})->describe('Build the project');
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});