Add --verbose flag to show extended logging

Fixes #379
This commit is contained in:
AsamK 2021-01-15 11:43:53 +01:00
parent 20681b8d89
commit 5938d54784
6 changed files with 315 additions and 207 deletions

View file

@ -42,6 +42,13 @@ public class Commands {
return commands;
}
public static Command getCommand(String commandKey) {
if (!commands.containsKey(commandKey)) {
return null;
}
return commands.get(commandKey);
}
private static void addCommand(String name, Command command) {
commands.put(name, command);
}