<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Command; use Illuminate\Console\Command; use Illuminate\Support\Facades\Artisan; use ModStart\Core\Util\FileUtil; class ModuleRefreshAllCommand extends Command { protected $signature = 'modstart:module-refresh-all'; public function handle() { goto ePj7k; V0IH7: $this->info($OcN1Q); goto srNEn; RWySO: $this->warn('ModuleRefreshAll Finished'); goto meXis; W2_r2: $OcN1Q = trim(Artisan::output()); goto cW8eW; yfXVw: $fGOaN = Artisan::call('modstart:module-install-all'); goto NpFK3; cW8eW: $this->info('ExitCode -> ' . $fGOaN); goto V0IH7; iHDzh: $this->info('>>> CleanOldAsset'); goto TDx4l; ePj7k: $this->info('ModuleRefreshAll Start'); goto iHDzh; jm2Ve: $this->info('>>> Reinstall Modules'); goto yfXVw; UyjaW: $fGOaN = Artisan::call('vendor:publish', array('--provider' => 'ModStart\\ModStartServiceProvider')); goto W2_r2; vANPw: $this->info('>>> Publish Asset'); goto UyjaW; srNEn: $this->info('>>> Finished
'); goto jm2Ve; WBzTH: $this->info('>>> Finished
'); goto RWySO; NpFK3: $OcN1Q = trim(Artisan::output()); goto k3nym; k3nym: $this->info('ExitCode -> ' . $fGOaN); goto ToYCb; ToYCb: $this->info($OcN1Q); goto WBzTH; TDx4l: FileUtil::rm(public_path('asset')); goto tw8yG; tw8yG: $this->info('>>> Finished
'); goto vANPw; meXis: } }