Package svnmailer :: Module cli
[show private | hide private]
[frames | no frames]

Module svnmailer.cli

svnmailer command line interface
Exceptions
CommandlineError Error in commandline
Error Base exception for this module

Function Summary
optparse.OptionParser() getOptions(_argv)
Parse commandline options
_FakeOptions _getOldStyle(_argv)
Parses the command line according to old style rules

Function Details

getOptions(_argv=None)

Parse commandline options
Parameters:
_argv - Command line list (instead of sys.argv[1:])
           (type=list)
Returns:
option object
           (type=optparse.OptionParser())
Raises:
CommandlineError - Error in command line options

_getOldStyle(_argv)

Parses the command line according to old style rules
Parameters:
_argv - Command line list (instead of sys.argv[1:])
           (type=list)
Returns:
options object
           (type=_FakeOptions)

Generated by Epydoc 2.0 on Mon Feb 14 16:49:17 2005 http://epydoc.sf.net