Artisan::command('logs:clear', function() { exec('rm -f ' . storage_path('logs/*.log')); exec('rm -f ' . base_path('*.log')); $this->comment('Logs have been cleared!'); })->describe('Clear log files');
Artisan::command('logs:clear', function() { exec('rm -f ' . storage_path('logs/*.log')); exec('rm -f ' . base_path('*.log')); $this->comment('Logs have been cleared!'); })->describe('Clear log files');