public static Class<? extends Command<? extends CLIContext>> getCommandClass(
            CLIContext context, String commandName) {
        return context.getHostApplication().getCommands().get(commandName.toLowerCase());
    }
public static Class < ? extends Command < ? extends CLIContext > > getCommandClass ( CLIContext context , String commandName ) { return context . getHostApplication ( ) . getCommands ( ) . get ( commandName . toLowerCase ( ) ) ; }
Get a command by name.
@param context The CLIContext
@param commandName The name of the command.
@return The command, or null if not found.