« Previous | Next » 

Revision 5a37a189

ID5a37a189c306e880d539124315a2a0d22e96458e

Added by Stavros Sachtouris about 9 years ago

Make arguments an internal feature of cli.commands

Now any cli.commands subclass instance:
- sets args like this:
mycmd['myargname'] = Argument()
instead of
mycmd.arguments['myargname']
- gets args like this:
mycmd['myargname'] = Argument()
instead of
mycmd.arguments['myargname']
-get argument values like this:
mycmd['myargname'].value
instead of
mycmd.get_argument('myargname')
Backwards compatibility is preserved -old methds still ok

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences