reynoldsnlp / pipster

pipster: The pythonic way to `pip install`.
MIT License
8 stars 2 forks source link

add pip options to install.__doc__ #39

Closed reynoldsnlp closed 1 year ago

reynoldsnlp commented 1 year ago

The docstring should already be set with introduction to pipster.install(), but then after the function is declared, do something like...

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.

reynoldsnlp commented 1 year ago

Be sure to add a note to the README about this (next to the part about not guaranteeing valid arguments)