This project is read-only.


Jan 25, 2010 at 7:15 AM

My latest checkins have been related to the ArgumentParser() class which is designed to quickly parse an array of command line arguments. It's a quick attempt and seems to be working ok but I'm looking for suggestions on functionality I might have missed or ways to improve it.

The first thing the comes to mind is that currently there is no way to require any number of non-prefixed arguments at the end of the list. Or really in any postion I guess. This means that depending on the order of arguments your required, non-prefixed argument, in the final position might mistakenly swallowed as a value of the previoues prefixed argument with an ArgumentValue != None.