Package omero :: Module cli :: Class HelpControl
[hide private]
[frames] | no frames]

Class HelpControl

source code


Defined here since the background loading might be too slow to have all help available

Instance Methods [hide private]
 
_complete(self, text, line, begidx, endidx)
This is something of a hack.
source code
 
help(self, args=None) source code
 
__call__(self, *args)
Main dispatch method for a control instance.
source code

Inherited from BaseControl: __init__

Method Details [hide private]

_complete(self, text, line, begidx, endidx)

source code 

This is something of a hack. This should either be a part of the context interface, or we should put it somewhere in a utility. FIXME.

Overrides: BaseControl._complete

help(self, args=None)

source code 
Overrides: BaseControl.help

__call__(self, *args)
(Call operator)

source code 

Main dispatch method for a control instance. The default implementation assumes that the *args consists of either no elements or exactly one list of strings ==> (["str"],)

If no args are present, _noargs is called. Subclasses may want to read from stdin or drop into a shell from _noargs().

Otherwise, the rest of the arguments are passed to the method named by the first argument, if _likes() returns True.

Overrides: BaseControl.__call__
(inherited documentation)