option('process_parameter'); $this->info('Starting daily data migration process...'); $this->info('Process Parameter: ' . ($processParameter ?? 'False')); try { $controller = app(MigrasiController::class); $response = $controller->index($processParameter); $responseData = json_decode($response->getContent(), true); $this->info($responseData['message'] ?? 'Process completed'); return Command::SUCCESS; } catch (Exception $e) { $this->error('Error processing daily migration: ' . $e->getMessage()); return Command::FAILURE; } } }