Closed reynoldsnlp closed 1 year ago
The docstring should already be set with introduction to pipster.install(), but then after the function is declared, do something like...
pipster.install()
install.__doc__ += pip_options_docstring()
The command options can be taken from pipster.install.install_cmd, and it looks like the best approach would be to create a custom formatter, similar to those found in pip._internal/cli/parser.py.
pipster.install.install_cmd
pip._internal/cli/parser.py
Be sure to add a note to the README about this (next to the part about not guaranteeing valid arguments)
The docstring should already be set with introduction to
pipster.install()
, but then after the function is declared, do something like...The command options can be taken from
pipster.install.install_cmd
, and it looks like the best approach would be to create a custom formatter, similar to those found inpip._internal/cli/parser.py
.