You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason you're rolling your own option parsing rather than
using the well tested optparse or argparse?
Most of the options are dynamically computed from the Gitlab class. I
don't know if optparse and/or argparse are able to handle that kind of
thing (never tested). If it's possible I agree that changing this would
be nice. I'd sure appreciate a patch then :)
Activity
gpocentek commentedon Nov 12, 2013
On 2013-11-11 21:49, Sam Gleske wrote:
Most of the options are dynamically computed from the Gitlab class. I
don't know if optparse and/or argparse are able to handle that kind of
thing (never tested). If it's possible I agree that changing this would
be nice. I'd sure appreciate a patch then :)
Gauvain
mxmader commentedon Feb 27, 2014
+1 for argparse, the "de facto" option parser IMHO.
here's a repo that I consider a decent reference implementation.
gpocentek commentedon May 12, 2015
python-gitlab now uses argparse.
samrocketman commentedon May 13, 2015
everything is awesome 👯