| Trees | Index | Help |
|
|---|
| Package ZenUtils :: Module zenpack :: Class ZenPackCmd |
|
CmdBase--+ |ZenScriptBase--+ | ZenPackCmd
| Method Summary | |
|---|---|
basic options setup sub classes can add more options here | |
Copy an unzipped zenpack to the appropriate location. | |
Unpack a ZenPack, and return the name | |
install(self,
packName)
| |
Symlink the srcDir into Products Return the name. | |
Check that prerequisite zenpacks are installed. | |
remove(self,
packName)
| |
Execute the user's request | |
stop(self,
why)
| |
Inherited from ZenScriptBase:
__init__,
closeAll,
closedb,
connect,
findDevice,
getConnection,
getContext,
getDataRoot,
getDmdObj,
login,
logout,
opendb,
syncdb
Inherited from CmdBase:
buildParser,
parseOptions,
setupLogging
| |
| Class Variable Summary | |
|---|---|
Inherited from CmdBase:
doesLogging
|
| Method Details |
|---|
buildOptions(self)basic options setup sub classes can add more options here
|
copyDir(self, srcDir)Copy an unzipped zenpack to the appropriate location. Return the name. |
extract(self, fname)Unpack a ZenPack, and return the name |
linkDir(self, srcDir)Symlink the srcDir into Products Return the name. |
preInstallCheck(self)Check that prerequisite zenpacks are installed. Return True if no prereqs specified or if they are present. False otherwise. |
run(self)Execute the user's request |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:16 2007 | http://epydoc.sf.net |