On Feb 20, 2008, at 8:13 PM, Michael Hoffman wrote:
> Noah Gift wrote:
>> Has anyone created a command line tool, using optparse, that
>> dynamically creates options from available eggs/plugins? I have a
>> need to create such a tool, and was looking for an example.
>
Thanks Michael. That give
Michael Hoffman wrote:
> with OptionGroup(parser, "Output driver") as group:
> group.add_option("-d", "--driver", default="DEFAULT",
> help="set output format")
>
> group.add_option("--driver-help", action="store_true",
> h