Evercode1\ViewMaker\MakeMaster::handle PHP Method

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed
    public function handle()
    {
        $this->masterName = $this->argument('MasterPageName');
        $this->appName = $this->argument('AppName');
        $this->setFileNamesAndPaths();
        if ($this->makeLayoutsFolder()->makeMasterFiles()) {
            $this->sendSuccessMessage();
            return;
        }
        $this->error('Oops, something went wrong!');
    }