'writes the prompt line'

def set_prompt(self, prompt_command=u'', position=0):

    self.description_docs = u'{}'.format(prompt_command)
    self.cli.current_buffer.reset(initial_document=Document(self.description_docs, cursor_position=position))
    self.cli.request_redraw()
