Package plugins :: Package core :: Package shell :: Module main :: Class XYZPlugin
[hide private]
[frames] | no frames]

Class XYZPlugin

source code

libxyz.core.plugins.BasePlugin --+
                                 |
                                XYZPlugin

Plugin shell

Instance Methods [hide private]
 
__init__(self, xyz) source code
 
prepare(self) source code
 
execute(self, cmd)
Execute command in shell
source code
 
_press_key(self, msg, key)
Print prompt and wait for the key to be pressed
source code
Class Variables [hide private]
  NAME = u"shell"
  AUTHOR = u"Max E. Kuznecov <syhpoon@syhpoon.name>"
  VERSION = u"0.1"
  BRIEF_DESCRIPTION = u"Shell wrapper"
  FULL_DESCRIPTION = u"Execute commands in external shell"
  NAMESPACE = u"core"
  MIN_XYZ_VERSION = None
hash(x)
  DOC = None
hash(x)
  HOMEPAGE = "http://xyzcmd.syhpoon.name"
  shell_args = {"sh": ["-c"], "bash": ["-c"], "zsh": ["-c"]}