<?php

namespace App\Console\Commands;

use Aic\Hub\Foundation\AbstractCommand as BaseCommand;

class ImportAllCommand extends BaseCommand
{

    protected $signature = 'import:all';

    protected $description = 'Run all import commands';


    public function handle()
    {

        $this->call('db:reset'); // Add --yes flag?
        $this->call('migrate');
        $this->call('import:collections-full');
        $this->call('import:exhibitions-legacy');
        $this->call('import:events-ticketed-full', ['--yes' => 'default']);
        $this->call('import:events-legacy');
        $this->call('import:dsc', ['--yes' => 'default', '-v' => 'default']);
        $this->call('import:mobile');
        $this->call('import:library', ['--yes' => 'default']);
        $this->call('import:archive', ['--yes' => 'default']);
        $this->call('import:sites', ['--yes' => 'default']);
        $this->call('import:set-ulan-uris');
        // TODO: Are we ready to remove this?
        // $this->call('import:terms-legacy');
        $this->call('import:products-full', ['--yes' => 'default']);


    }

}

<?php

namespace App\Console\Commands;

use Aic\Hub\Foundation\AbstractCommand as BaseCommand;

class ImportAllCommand extends BaseCommand
{

    protected $signature = 'import:all';

    protected $description = 'Run all import commands';


    public function handle()
    {

        $this->call('db:reset'); // Add --yes flag?
        $this->call('migrate');
        $this->call('import:collections-full');
        $this->call('import:exhibitions-legacy');
        $this->call('import:events-ticketed-full', ['--yes' => 'default']);
        $this->call('import:events-legacy');
        $this->call('import:dsc', ['--yes' => 'default', '-v' => 'default']);
        $this->call('import:mobile');
        $this->call('import:library', ['--yes' => 'default']);
        $this->call('import:archive', ['--yes' => 'default']);
        $this->call('import:sites', ['--yes' => 'default']);
        $this->call('import:set-ulan-uris');
        // TODO: Are we ready to remove this?
        // $this->call('import:terms-legacy');
        $this->call('import:products-full', ['--yes' => 'default']);
        $this->call('import:images');

    }

}

Add import:images call to ImportAll
Add import:images call to ImportAll
