<?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 hpOGt; JA8NI: $this->info('>>> Finished
'); goto QPFTs; q8Z9Q: $nhQHe = Artisan::call('modstart:module-install-all'); goto joqnh; bIkly: $this->info('ExitCode -> ' . $nhQHe); goto ZvtP1; QNtXM: $this->info('>>> CleanOldAsset'); goto M0E10; ZvtP1: $this->info($JITDT); goto QVgbU; xJlMR: $this->info('ExitCode -> ' . $nhQHe); goto cdb2V; cdb2V: $this->info($JITDT); goto OujyI; x5Rpu: $JITDT = trim(Artisan::output()); goto bIkly; Qq7wu: $this->warn('ModuleRefreshAll Finished'); goto bRBRc; hpOGt: $this->info('ModuleRefreshAll Start'); goto QNtXM; nNzkN: $this->info('>>> Reinstall Modules'); goto q8Z9Q; OujyI: $this->info('>>> Finished
'); goto Qq7wu; joqnh: $JITDT = trim(Artisan::output()); goto xJlMR; QVgbU: $this->info('>>> Finished
'); goto nNzkN; M0E10: FileUtil::rm(public_path('asset')); goto JA8NI; EZRPG: $nhQHe = Artisan::call('vendor:publish', array('--provider' => 'ModStart\\ModStartServiceProvider')); goto x5Rpu; QPFTs: $this->info('>>> Publish Asset'); goto EZRPG; bRBRc: } }