Evercode1\ViewMaker\MakeViews::handle PHP Method

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed
    public function handle()
    {
        $this->setConfigFromInputs();
        if ($this->makeViewDirectory()->makeViewFiles($this->templateType)) {
            $this->sendSuccessMessage();
            return;
        }
        $this->error('Oops, something went wrong!');
    }