src/Commands/AuthEmail.php
public function handle(Actions $actions)
    {
        /**
         * Unless flag --only is passed, call the `make:auth` artisan command.
         */
        if (!$this->option('only')) {
            $this->call('make:auth');
        }

        /**
         * If flag --queue is passed, make the mailable implement ShouldQueue interface.
         */
        if ($this->option('queue')) {
            ShouldQueue::$bool = true;
        }

        /**
         * We iterate through all the Actions and
         * execute run() method on each one.
         */
        foreach ($actions->actions as $action) {
            $action->run();
        }

        /**
         * If the flag --migrate is passed, call the `migrate` artisan command.
         */
        if ($this->option('migrate')) {
            $this->call('migrate');
        }

        $this->Success();
    }
public function handle(Actions $actions)
    {
        /**
         * Unless flag --only is passed, call the `make:auth` artisan command.
         */
        if (!$this->option('only')) {
            $this->call('make:auth');
        }

        /**
         * If flag --queue is passed, make the mailable implement ShouldQueue interface.
         */
        if ($this->option('queue')) {
            ShouldQueue::$bool = true;
        }

        /**
         * We iterate through all the Actions and
         * execute run() method on each one.
         */
        foreach ($actions->actions as $action) {
            $action->run();
        }

        /**
         * If the flag --migrate is passed, call the `migrate` artisan command.
         */
        if ($this->option('migrate')) {
            $this->call('migrate');
        }

        $this->Success();
    }
Execute the console command.

@param Actions $actions