removed old table stuff
This commit is contained in:
parent
1954361cf7
commit
fb6fc90bc1
|
@ -4,10 +4,7 @@
|
||||||
use App\Controller\ApiUsers;
|
use App\Controller\ApiUsers;
|
||||||
use App\Controller\DatabaseConnection;
|
use App\Controller\DatabaseConnection;
|
||||||
use App\Controller\DomainController;
|
use App\Controller\DomainController;
|
||||||
use CLIFramework\Component\Table\Table;
|
|
||||||
|
|
||||||
//echo $argc;
|
|
||||||
//print_r($argv);
|
|
||||||
|
|
||||||
// 61e6ce5dd8a1b.bc1c314ce364f6878084c254fe4c6345801c43a49bb8eb71
|
// 61e6ce5dd8a1b.bc1c314ce364f6878084c254fe4c6345801c43a49bb8eb71
|
||||||
|
|
||||||
|
@ -38,8 +35,6 @@ $domainController = new DomainController($dbConnection);
|
||||||
|
|
||||||
[$command, $subcommand] = explode(':', $argv[1]);
|
[$command, $subcommand] = explode(':', $argv[1]);
|
||||||
|
|
||||||
//echo $command, $subcommand;
|
|
||||||
|
|
||||||
switch($command) {
|
switch($command) {
|
||||||
case 'apikeys':
|
case 'apikeys':
|
||||||
switch($subcommand) {
|
switch($subcommand) {
|
||||||
|
@ -99,13 +94,10 @@ switch($command) {
|
||||||
echo 'No domains found.' . PHP_EOL;
|
echo 'No domains found.' . PHP_EOL;
|
||||||
}
|
}
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
echo("Unknown Command: $subcommand" . PHP_EOL);
|
echo("Unknown Command: $subcommand" . PHP_EOL);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
echo 'Unknown command: ' . $command . PHP_EOL;
|
echo 'Unknown command: ' . $command . PHP_EOL;
|
||||||
}
|
}
|
Loading…
Reference in New Issue