From 45261087695c0c7f5193e56397dd0989e1617cdf Mon Sep 17 00:00:00 2001 From: Luke Kuzmish <42181698+cosmastech@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:44:01 -0500 Subject: [PATCH 1/5] Update InfoCommand.php --- src/Commands/InfoCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Commands/InfoCommand.php b/src/Commands/InfoCommand.php index b10cc79..24ffd79 100644 --- a/src/Commands/InfoCommand.php +++ b/src/Commands/InfoCommand.php @@ -2,7 +2,6 @@ namespace ZiffMedia\LaravelEtls\Commands; -use App\Etls\MerchantSeoDataEtl; use Illuminate\Support\Str; use ZiffMedia\LaravelEtls\AbstractEtl; use ZiffMedia\LaravelEtls\EtlExecutor; @@ -58,5 +57,7 @@ public function handle() $this->output->writeln('Extractor query: '); $this->output->writeln($extractorQuery->toSql()); } + + return 0; } } From d43abd0d8ceecf0d9c798cef192deecf171926b4 Mon Sep 17 00:00:00 2001 From: Luke Kuzmish <42181698+cosmastech@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:47:54 -0500 Subject: [PATCH 2/5] Update ListCommand.php --- src/Commands/ListCommand.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Commands/ListCommand.php b/src/Commands/ListCommand.php index c3d1730..8d1d51c 100644 --- a/src/Commands/ListCommand.php +++ b/src/Commands/ListCommand.php @@ -11,7 +11,7 @@ class ListCommand extends Command { protected $signature = 'etls:list'; - protected $description = 'Run ETLs'; + protected $description = 'List ETLs'; public function handle() { @@ -20,5 +20,7 @@ public function handle() foreach ($etls as $etlName => $etlClass) { $this->output->writeln(Str::kebab($etlName) . " found in class $etlClass"); } + + return 0; } } From c809efb69b8467021ed0f7dad616dcb986b68b99 Mon Sep 17 00:00:00 2001 From: Luke Kuzmish <42181698+cosmastech@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:48:48 -0500 Subject: [PATCH 3/5] Update RunCommand.php --- src/Commands/RunCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Commands/RunCommand.php b/src/Commands/RunCommand.php index d18c6b0..6f78288 100644 --- a/src/Commands/RunCommand.php +++ b/src/Commands/RunCommand.php @@ -51,5 +51,7 @@ public function handle() if ($this->output->isVerbose()) { $this->output->writeln("\nComplete"); } + + return 0; } } From 8321120b41c0a49af4f27627be89599242e15ec3 Mon Sep 17 00:00:00 2001 From: Luke Kuzmish <42181698+cosmastech@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:52:41 -0500 Subject: [PATCH 4/5] Update RunCommand.php --- src/Commands/RunCommand.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Commands/RunCommand.php b/src/Commands/RunCommand.php index 6f78288..5ee5334 100644 --- a/src/Commands/RunCommand.php +++ b/src/Commands/RunCommand.php @@ -2,7 +2,6 @@ namespace ZiffMedia\LaravelEtls\Commands; -use App\Etls\MerchantSeoDataEtl; use Illuminate\Support\Str; use ZiffMedia\LaravelEtls\EtlExecutor; use Illuminate\Console\Command; From 66a21340e2c77b5c61ef8265f6e9557eded54489 Mon Sep 17 00:00:00 2001 From: Luke Kuzmish <42181698+cosmastech@users.noreply.github.com> Date: Sat, 7 Dec 2024 08:52:51 -0500 Subject: [PATCH 5/5] Update ListCommand.php --- src/Commands/ListCommand.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Commands/ListCommand.php b/src/Commands/ListCommand.php index 8d1d51c..6ab3fcf 100644 --- a/src/Commands/ListCommand.php +++ b/src/Commands/ListCommand.php @@ -2,7 +2,6 @@ namespace ZiffMedia\LaravelEtls\Commands; -use App\Etls\MerchantSeoDataEtl; use Illuminate\Support\Str; use ZiffMedia\LaravelEtls\EtlExecutor; use Illuminate\Console\Command;