private static void listCommands() {
System.out.println("Available commands:");
for (Map.Entry<String, Class<?>> entry : COMMANDS.entrySet()) {
Command ann = entry.getValue().getAnnotation(Command.class);
System.out.printf(" %s - %s\n", entry.getKey(), ann.description());
}
System.out.println("Type 'command --help' for more help on the specified command.");
}