diff --git a/bindAPI/bin/console b/bindAPI/bin/console index d780db5..ac1006c 100755 --- a/bindAPI/bin/console +++ b/bindAPI/bin/console @@ -4,10 +4,7 @@ use App\Controller\ApiUsers; use App\Controller\DatabaseConnection; use App\Controller\DomainController; -use CLIFramework\Component\Table\Table; -//echo $argc; -//print_r($argv); // 61e6ce5dd8a1b.bc1c314ce364f6878084c254fe4c6345801c43a49bb8eb71 @@ -38,8 +35,6 @@ $domainController = new DomainController($dbConnection); [$command, $subcommand] = explode(':', $argv[1]); -//echo $command, $subcommand; - switch($command) { case 'apikeys': switch($subcommand) { @@ -99,13 +94,10 @@ switch($command) { echo 'No domains found.' . PHP_EOL; } exit(0); - - break; default: echo("Unknown Command: $subcommand" . PHP_EOL); exit(1); } - break; default: echo 'Unknown command: ' . $command . PHP_EOL; } \ No newline at end of file