Home | Trees | Indices | Help |
|
---|
|
StarCluster Command Line Interface
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
gparser | |||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Parse global arguments, find subcommand from list of subcommand objects, parse local subcommand arguments and return a tuple of global options, selected command object, command options, and command arguments. Call execute() on the command object to run. The command object has members 'gopts' and 'opts' set for global and command options respectively, you don't need to call execute with those but you could if you wanted to. |
Builds a crash-report when StarCluster encounters an unhandled exception. Report includes system info, python version, dependency versions, and a full debug log and stack-trace of the crash. |
Parse and return global options. This method will silently return None if any errors are encountered during parsing. |
Restore original sys.argv from COMP_LINE in the case that starcluster is being called by Bash/ZSH for completion options. Bash/ZSH will simply call 'starcluster' with COMP_LINE environment variable set to the current (partial) argv for completion. StarCluster's Bash/ZSH completion code needs to read the global config option in case an alternate config is specified at the command line when completing options. StarCluster's comletion code uses the config to generate completion options. Setting sys.argv to $COMP_LINE in this case allows the global option parser to be used to extract the global -c option (if specified) and load the proper config in the completion code. |
|
gparser
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Nov 5 18:57:55 2011 | http://epydoc.sourceforge.net |