def request_option(self, option_name, args=None, options=None, kls=None,
                       default_option=None, one_line_options=False):
        options = options or []
        if args is None:
            args = []
        value = getattr(args, option_name, None)
        # If an integer parameter is 0, we cant check if getattr(args, option_name)
        if value is None or value == "":
            logger.debug("Not parameter %s in args %s" % (option_name, args))
            if len(options) == 1:
                ret = options.pop()
                self.out.input_text("%s: " % option_name)
                self.out.listitem("%s" % ret, 1)
            else:
                ret = self._request_while(option_name, options, kls, default_option,
                                          one_line_options)
        else:
            ret = self._get_option_from_args(option_name, args, options, kls, default_option)
        return ret
Ask a yes/no question via raw_input() and return their answer.
dataset/ETHPy150Open biicode/client/shell/userio.py/UserIO.request_option--crossover with--dataset/ETHPy150Open rcaloras/bashhub-client/bashhub/bashhub_setup.py/query_yes_no