Message103876
Hello
Here’s another approach, which has to be used explicitly but provides much more flexible completion: http://pypi.python.org/pypi/optcomplete
I ask the author some time ago if he’d adapt it to argparse; he answered he wouldn’t have time but it shouldn’t be too hard. It’s 221 lines of code (according to sloccount), perhaps worth merging into argparse.
Regards |
|
Date |
User |
Action |
Args |
2010-04-21 18:06:03 | eric.araujo | set | recipients:
+ eric.araujo, bethard, wplappert, andybuckley, r.david.murray, gruszczy |
2010-04-21 18:06:03 | eric.araujo | set | messageid: <1271873163.34.0.0108711204216.issue4256@psf.upfronthosting.co.za> |
2010-04-21 18:06:01 | eric.araujo | link | issue4256 messages |
2010-04-21 18:06:01 | eric.araujo | create | |
|