We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b040326 commit 3bc7b81Copy full SHA for 3bc7b81
src/App.php
@@ -3,6 +3,7 @@
3
namespace ecoAPM\LibYear;
4
5
use cli\Table;
6
+use Garden\Cli\Args;
7
use Garden\Cli\Cli;
8
use Exception;
9
@@ -52,6 +53,11 @@ public function run(array $args): bool
52
53
return true;
54
}
55
56
+ return $this->runWithParsedArguments($arguments);
57
+ }
58
+
59
+ private function runWithParsedArguments(Args $arguments): bool
60
+ {
61
$quiet_mode = $arguments->getOpt('quiet') !== null;
62
$update_mode = $arguments->getOpt('update') !== null;
63
$verbose_mode = $arguments->getOpt('verbose') !== null;
0 commit comments