def METHOD_NAME(self):
    try:
        try:
            subcmd = self.parser.config.get("subcommand")
            extension = self._cli_cmd_dispatcher[subcmd]
        except KeyError:
            return
        method = extension.obj.METHOD_NAME
        return method(self.parser.config)
    finally:
        # This makes sure we cleanup the console (stty echo). The only way
        # to avoid cleaning it is to kill the less (paginator) directly
        STD_OUTPUT.close()