def _build_usage(self, command): rst_doc = gen_rst_doc(command) text_doc = publish_string(rst_doc, writer=TextWriter()) return text_doc