From 965c7fca90881945cc216e45929620c3c0fbb1b4 Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 13 Feb 2026 16:37:08 +0100 Subject: [PATCH] wip --- app/Console/Commands/Grapper/Logifuture.php | 5 +++++ app/Console/Commands/Nuh.php | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/Grapper/Logifuture.php b/app/Console/Commands/Grapper/Logifuture.php index 6acb1b3b..edc36ca5 100644 --- a/app/Console/Commands/Grapper/Logifuture.php +++ b/app/Console/Commands/Grapper/Logifuture.php @@ -26,6 +26,7 @@ class Logifuture public static function switch() { $debug = Nuh::$options['d'] ?? 0; + $echo_data = Nuh::$options['e'] ?? 0; $sportmap = Sport::map('logi', 1, [Nuh::$options['sport_id']]); @@ -41,6 +42,10 @@ class Logifuture $matches = LogifutureData::load($logifuture_sport_id); + if ($echo_data) { + Notice::note($matches, 'g'); + } + if (! is_array($matches)) { return; } diff --git a/app/Console/Commands/Nuh.php b/app/Console/Commands/Nuh.php index 92fcb442..db92c263 100644 --- a/app/Console/Commands/Nuh.php +++ b/app/Console/Commands/Nuh.php @@ -21,7 +21,7 @@ class Nuh extends Command public static $id = 0; - protected $signature = 'nuh {process=help} {--id=0} {--fn=} {--gid=} {--p} {--d} {--x} {--t} {--w} {--a} {--r} {--s} {--g} {--t} {--q} {--f} {--b}'; + protected $signature = 'nuh {process=help} {--id=0} {--fn=} {--gid=} {--p} {--d} {--x} {--t} {--w} {--a} {--r} {--s} {--g} {--t} {--q} {--f} {--b} {--e}'; public function handle() { @@ -54,6 +54,7 @@ class Nuh extends Command $txt .= '--s store data to file '.PHP_EOL; $txt .= '--f force update market'.PHP_EOL; $txt .= '--q print all queries'.PHP_EOL; + $txt .= '--e echo client data'.PHP_EOL; $txt .= '----------------------------------------------'.PHP_EOL.PHP_EOL; $txt .= 'Supervisors'.PHP_EOL;