Caffeinated\Modules\Console\Generators\MakeModuleCommand::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed
    public function fire()
    {
        $this->container['slug'] = str_slug($this->argument('slug'));
        $this->container['name'] = studly_case($this->container['slug']);
        $this->container['version'] = '1.0';
        $this->container['description'] = 'This is the description for the ' . $this->container['name'] . ' module.';
        if ($this->option('quick')) {
            return $this->generate();
        }
        $this->displayHeader('make_module_introduction');
        $this->stepOne();
    }