<?php

namespace R\Hive\Commands;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputArgument;

class AssembleCommand extends Command
{
    protected $name = 'hive:assemble';

    protected $description = 'Create a new Hive resource collection for an instance.';

    public function fire()
    {
        $name = $this->argument('name');

        $this->call('hive:instance', ['name' => $name, '-e' => 'bar', '-m' => 'bar']);
        $this->call('hive:factory', ['name' => $name, '-i' => 'bar']);
        $this->call('hive:repo', ['name' => $name, '-o' => 'bar']);
        $this->call('hive:controller', ['name' => $name]);
    }

    protected function getArguments()
    {
        return [
            ['name', InputArgument::REQUIRED, 'The name of the instance.'],
        ];
    }
}

<?php

namespace R\Hive\Commands;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputArgument;

class AssembleCommand extends Command
{
    protected $name = 'hive:assemble';

    protected $description = 'Create a new Hive resource collection for an instance.';

    public function fire()
    {
        $name = $this->argument('name');

        $this->call('hive:instance', ['name' => $name, '-e' => 'bar', '-m' => 'bar']);
        $this->call('hive:factory', ['name' => $name, '-i' => 'bar']);
        $this->call('hive:repo', ['name' => $name, '-o' => 'bar']);
        $this->call('hive:mutator', ['name' => $name.'Request', '-r' => 'bar']);
        $this->call('hive:controller', ['name' => $name]);
    }

    protected function getArguments()
    {
        return [
            ['name', InputArgument::REQUIRED, 'The name of the instance.'],
        ];
    }
}

Add mutator generation to assemble command.
Add mutator generation to assemble command.
