[getopt-sig] ObjectCLI

s.keim s.keim
Thu, 14 Feb 2002 16:27:47 +0100


Le jeudi 14 f=E9vrier 2002, =E0 04:19 PM, Shane Hathaway a =E9crit :

> Hi everyone,
>
> Here is an approach I'd like you to consider for parsing command-line=20=

> arguments.  I used this approach in the "pma" project (an NNTP server=20=

> built on ZODB--see the zodbex project at SourceForge.)
> ObjectCLI is a class that lets you invoke methods of a Python object=20=

> directly from the command line.

Isn't it something that is already supported by the standard library ?
http://python.org/doc/current/lib/module-cmd.html


seb