示例#1
0
    def prompt(self):

        if self._message is None:
            self._message = Output.prompt_text_block(
                Style.bright + \
                "\nEnter OOTO message" + \
                Style.normal,
                blank=False,
                help_str="OOTO message can't be blank.",
            )
示例#2
0
    def prompt(self):

        if self._message is None:
            self._message = Output.prompt_text_block(
                Style.bright + \
                "\nEnter OOTO message" + \
                Style.normal,
                blank=False,
                help_str="OOTO message can't be blank.",
            )
示例#3
0
文件: fail.py 项目: liudger/dpa-pipe
    def prompt(self):

        if self._subject is None:
            self._subject = Output.prompt(
                Style.bright + \
                "\nEnter a one line description of the problem" + \
                Style.normal,
                blank=False,
                help_str="Subject line can't be blank.",
                separator = ":\n"
            )

        if self._message is None:
            self._message = Output.prompt_text_block(
                Style.bright + \
                "\nEnter a detailed description of the problem.\n" + \
                Style.normal + \
                " Include steps to replicate, errors, etc below.\n" + \
                " You can copy/paste below as well.\n",
                blank=False,
                help_str="Message can't be blank.",
            )