private BaseCmd getCommands(String s) {
                for (BaseCmd cmd : cmds) {
                        if (cmd.cmdName.equalsIgnoreCase(s)) {
                                return cmd;
                        }
                }
                return null;
        }