uicli.uicliwrapper (version 0.1, 11 April 2003)
index
e:\bothans\uicli\uicliwrapper.py

This module contains a Command Line Interface that connects
to a core and translates commands into XML messages

 
Modules
            
cmd
common
logging
string
sys
time
ui
uicli
 
Classes
            
cmd.Cmd
AdminCli
 
class AdminCli(cmd.Cmd)
       
   Methods defined here:
__init__(self, rfile, wfile, completekey=None)
do_addplugin(self, *args)
do_addservice(self, *args)
do_addserviceontarget(self, *args)
do_addtarget(self, *args)
do_connect(self, *args)
Connect to a pitcher. First argument is ip/hostname, and
second one is port (not mandatory)
do_quit(self, *args)
sendIt(self, message)
splitem(self, str)

Data and non-method functions defined here:
CLI_DEFAULT_SEPARATOR = ' '
__doc__ = None
__module__ = 'uicli.uicliwrapper'

Methods inherited from cmd.Cmd:
cmdloop(self, intro=None)
Repeatedly issue a prompt, accept input, parse an initial prefix
off the received input, and dispatch to action methods, passing them
the remainder of the line as argument.
complete(self, text, state)
Return the next possible completion for 'text'.
 
If a command has not been entered, then complete against command list.
Otherwise try to call complete_<command> to get list of completions.
complete_help(self, *args)
completedefault(self, *ignored)
Method called to complete an input line when no command-specific
complete_*() method is available.
 
By default, it returns an empty list.
completenames(self, text, *ignored)
default(self, line)
Called on an input line when the command prefix is not recognized.
 
If this method is not overridden, it prints an error message and
returns.
do_help(self, arg)
emptyline(self)
Called when an empty line is entered in response to the prompt.
 
If this method is not overridden, it repeats the last nonempty
command entered.
get_names(self)
onecmd(self, line)
Interpret the argument as though it had been typed in response
to the prompt.
 
This may be overridden, but should not normally need to be;
see the precmd() and postcmd() methods for useful execution hooks.
The return value is a flag indicating whether interpretation of
commands by the interpreter should stop.
parseline(self, line)
postcmd(self, stop, line)
Hook method executed just after a command dispatch is finished.
postloop(self)
Hook method executed once when the cmdloop() method is about to
return.
precmd(self, line)
Hook method executed just before the command line is
interpreted, but after the input prompt is generated and issued.
preloop(self)
Hook method executed once when the cmdloop() method is called.
print_topics(self, header, cmds, cmdlen, maxcol)

Data and non-method functions inherited from cmd.Cmd:
cmdqueue = []
doc_header = 'Documented commands (type help <topic>):'
doc_leader = ''
identchars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'
intro = None
lastcmd = ''
misc_header = 'Miscellaneous help topics:'
nohelp = '*** No help on %s'
prompt = '(Cmd) '
ruler = '='
undoc_header = 'Undocumented commands:'
use_rawinput = 1
 
Data
             __author__ = 'David Ferlier <david@netbsd-fr.org>'
__date__ = '11 April 2003'
__file__ = r'e:\bothans\uicli\uicliwrapper.pyc'
__license__ = 'This file is part of Bothans\n\n Bothans is fre...lace, Suite 330, Boston, MA 02111-1307 USA\n '
__name__ = 'uicli.uicliwrapper'
__status__ = 'beta'
__version__ = '0.1'
log = <logging.Logger instance at 0x008E7A78>
 
Author
             David Ferlier <david@netbsd-fr.org>