autoprogram
autoprogram copied to clipboard
Documenting CLI programs
Dear `autoprogram` team, If I have a code like this: ``` if __name__ == "__main__": logger.setLevel("DEBUG") parser = argparse.ArgumentParser( description="""random""" ) ``` then the `autoprogram` is unable to see the...
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...
Many packages have switched to leverage PEP 517 style of building the package, dropping `setuptools` in the process. At the same time, it may be worth considering changing `setup.py` into...
Sub-commands of argument parser always get sorted in the Sphinx documentation page generated with 'autoprogram'. There's no good way to turn alphabet sorting off (except maybe tricking with OrderedDict class,...
This package is declared python 3 only, thus six usage should not be necessary.
Please add a new option `:label:`, that adds a labels to all the created reST output: ```diff if is_program: yield '.. program:: ' + title yield '' + if 'label'...
Hey, thanks for a great package!! I don't think the below is a huge issue, but I just spent a few hours debugging it, so I figured I would pass...
```console + /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx running build_sphinx Running Sphinx v4.0.2 making output directory... done WARNING: html_static_path entry '_static' does not exist loading intersphinx inventory from http://docs.python.org/objects.inv......
There does not appear to be a way to mock modules imported by programs that autoprogram imports. It would be nice to have a mechanism to mock modules for autoprogram....
I've been trying to cross-reference arguments in my `autoprogram` output and can't find any viable way to do it. According to `python3 -m sphinx.ext.intersphinx`, these are the cross-reference targets that...