removed old table stuff

This commit is contained in:
tracer 2022-01-19 16:16:26 +01:00
parent 1954361cf7
commit fb6fc90bc1

View File

@ -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;
}