« Previous | Next » 

Revision fa532396

IDfa5323965698b35defc383fd3819a7221ba72d87

Added by Christos Stavrakakis about 10 years ago

snf_django: Use option groups in SynnefoCommand

Extend SynnefoCommand to use option groups to distinguish between common
and command-specific options, by overriding the 'create_parser' method.
The command specific options must be declared in the
'command_option_list' attribute of the SynnefoCommand. Also, we use a
custom formatter to pretty-print options.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences