Package Products :: Package ZenUtils :: Module ZenPackCmd :: Class ZenPackCmd
[hide private]
[frames] | no frames]

Class ZenPackCmd

source code

             object --+        
                      |        
        CmdBase.CmdBase --+    
                          |    
ZenScriptBase.ZenScriptBase --+
                              |
                             ZenPackCmd

Utilities for creating, installing, removing ZenPacks.

NOTE: Users will probably invoke zenpack from the command line, which runs zenpack.py rather than this file. zenpack.py calls functions in this module when it detects that new-style (egg) ZenPacks are involved. The plan is that once support for old-style (non-egg) ZenPacks is dropped zenpack.py can go away and this will take its place. Until then this script can be invoked directly via the zenpackcmd script if desired. Invoking this script directly has the benefit of slightly better progress/status output to stdout.

Instance Methods [hide private]
 
run(self)
Execute the user's request.
source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code

Inherited from ZenScriptBase.ZenScriptBase: __init__, closeAll, closedb, connect, findDevice, getConnection, getDataRoot, getDmdObj, login, logout, opendb, syncdb

Inherited from CmdBase.CmdBase: buildParser, checkLogpath, generate_configs, generate_xml_configs, generate_xml_table, getConfigFileDefaults, getGlobalConfigFileDefaults, getParamatersFromConfig, loadConfigFile, parseOptions, pretty_print_config_comment, setupLogging, validateConfigFile

Class Variables [hide private]

Inherited from CmdBase.CmdBase: doesLogging

Method Details [hide private]

buildOptions(self)

source code 

basic options setup sub classes can add more options here

Overrides: CmdBase.CmdBase.buildOptions
(inherited documentation)