Home | Trees | Indices | Help |
|
---|
|
object --+ | admin.AdminCommand --+ | InjectCommand
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
cmd_name =
|
|
short_help =
|
|
usage =
|
|
Inherited from |
Properties | |
Inherited from |
Method Details |
Configure the OptionParser Commands that want to accept additional command line options need to define them using The "self.parser.add_option(...)" method. This method will be called before the command line is parsed
|
Decide in the final value for all options and arguments This methiod is called after the command line has been parsed and the resulting options and arguments are stored in self.options and self.args. If a valid database connection string is stored in self.db_url the following self.run()-call will be wrapped inside a database transaction.
|
Cary out the command's actions This method is invoked after the command line has been parsed. All AdminCommand subclasses need to implement this method.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon Oct 1 20:58:01 2007 | http://epydoc.sourceforge.net |