<?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 dc4WR; bSUTM: $this->info($JnUvt); goto J20vB; dc4WR: $this->info('ModuleRefreshAll Start'); goto gBvS6; da4Tu: $this->info('>>> Finished
'); goto UkQtE; YxTOq: $JnUvt = trim(Artisan::output()); goto Qn_Li; mjY0m: FileUtil::rm(public_path('asset')); goto PufLE; jYT4b: $JnUvt = trim(Artisan::output()); goto s0TSW; ZcBAk: $this->info('>>> Reinstall Modules'); goto NXUlJ; UkQtE: $this->warn('ModuleRefreshAll Finished'); goto e_yTn; NXUlJ: $xeLB9 = Artisan::call('modstart:module-install-all'); goto YxTOq; s0TSW: $this->info('ExitCode -> ' . $xeLB9); goto bSUTM; J20vB: $this->info('>>> Finished
'); goto ZcBAk; HmK5j: $this->info('>>> Publish Asset'); goto FJG2H; LZUNx: $this->info($JnUvt); goto da4Tu; FJG2H: $xeLB9 = Artisan::call('vendor:publish', array('--provider' => 'ModStart\\ModStartServiceProvider')); goto jYT4b; Qn_Li: $this->info('ExitCode -> ' . $xeLB9); goto LZUNx; gBvS6: $this->info('>>> CleanOldAsset'); goto mjY0m; PufLE: $this->info('>>> Finished
'); goto HmK5j; e_yTn: } }