Add more sub consoles
This commit is contained in:
@@ -95,8 +95,16 @@ HELP;
|
||||
break;
|
||||
case 'docbloxerrorchecker' : $subconsole = new Console\DocBloxErrorChecker($subargs);
|
||||
break;
|
||||
case 'extract' : $subconsole = new Console\Extract($subargs);
|
||||
break;
|
||||
case 'globalcommunityblock': $subconsole = new Console\GlobalCommunityBlock($subargs);
|
||||
break;
|
||||
case 'globalcommunitysilence': $subconsole = new Console\GlobalCommunitySilence($subargs);
|
||||
break;
|
||||
case 'maintenance': $subconsole = new Console\Maintenance($subargs);
|
||||
break;
|
||||
case 'php2po': $subconsole = new Console\PhpToPo($subargs);
|
||||
break;
|
||||
default:
|
||||
throw new \Asika\SimpleConsole\CommandArgsException('Command ' . $command . ' doesn\'t exist');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user