____my__program____.py --help '''.lstrip() SUB_DOCSTRINGS = dict( ____my__command____=''' ____my__command____: ____my__command____description > ____my__program____.py ____my__command____ flags: --____my__flag____: '''.strip(), ) DOCSTRING = betterhelp.add_previews(DOCSTRING, SUB_DOCSTRINGS) def main(argv): return betterhelp.subparser_main( argv, parser, main_docstring=DOCSTRING, sub_docstrings=SUB_DOCSTRINGS, ) ]]> helptext