<?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 YIL7z; A00O0: $this->info('>>> Finished
'); goto D0b4s; U_TsY: $d6Iac = Artisan::call('vendor:publish', array('--provider' => 'ModStart\\ModStartServiceProvider')); goto DNTWj; Zb5e0: $this->info($A0TZ9); goto e3YlU; zgCBl: $this->warn('ModuleRefreshAll Finished'); goto gA7fy; e3YlU: $this->info('>>> Finished
'); goto zgCBl; co2I_: $this->info('>>> Finished
'); goto CXSQ2; Pchnx: $A0TZ9 = trim(Artisan::output()); goto V0j9M; gIriK: $this->info('>>> CleanOldAsset'); goto BE8j5; YBb7p: $this->info($A0TZ9); goto A00O0; G2wqw: $this->info('ExitCode -> ' . $d6Iac); goto YBb7p; DNTWj: $A0TZ9 = trim(Artisan::output()); goto G2wqw; V0j9M: $this->info('ExitCode -> ' . $d6Iac); goto Zb5e0; BE8j5: FileUtil::rm(public_path('asset')); goto co2I_; CXSQ2: $this->info('>>> Publish Asset'); goto U_TsY; D0b4s: $this->info('>>> Reinstall Modules'); goto w9SgN; w9SgN: $d6Iac = Artisan::call('modstart:module-install-all'); goto Pchnx; YIL7z: $this->info('ModuleRefreshAll Start'); goto gIriK; gA7fy: } }