Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package gadfly :: Package scripts :: Module gfplus :: Class GadflyShell |
|
Cmd
--+
|
GadflyShell
Method Summary | |
---|---|
__init__(self)
| |
Run the command to Gadfly... | |
Repeat the last command, but change it according to the re arg:... | |
commit database... | |
List columns for table named in table... | |
do_EOF(self,
arg)
| |
exit gfplus, commiting changes... | |
display help screen... | |
rollback to last commit... | |
Switch active databases. | |
Called when an empty line is entered in response to the prompt. | |
I need to have the last command altered _after_ the current... | |
Hook method executed just before the command line is interpreted, but after the input prompt is generated and issued. | |
Inherited from Cmd | |
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. | |
Display a list of strings as a compact set of columns. | |
Return the next possible completion for 'text'. | |
| |
Method called to complete an input line when no command-specific complete_*() method is available. | |
| |
| |
Interpret the argument as though it had been typed in response to the prompt. | |
| |
Hook method executed once when the cmdloop() method is about to return. | |
Hook method executed once when the cmdloop() method is called. | |
|
Class Variable Summary | |
---|---|
str |
prompt = 'GF> '
|
str |
prompt2 = '... '
|
Inherited from Cmd | |
str |
doc_header = 'Documented commands (type help <topic>):'
|
str |
doc_leader = ''
|
str |
identchars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP...
|
NoneType |
intro = None |
str |
lastcmd = ''
|
str |
misc_header = 'Miscellaneous help topics:'
|
str |
nohelp = '*** No help on %s'
|
str |
ruler = '='
|
str |
undoc_header = 'Undocumented commands:'
|
int |
use_rawinput = 1 |
Method Details |
---|
default(self, arg)Run the command to Gadfly
|
do_change(self, arg)Repeat the last command, but change it according to the re arg: s/pattern/replace c/pattern/replace |
do_commit(self, arg)commit database |
do_desc(self, table)List columns for table named in table |
do_exit(self, arg)exit gfplus, commiting changes |
do_help(self, arg)display help screen
|
do_rollback(self, arg)rollback to last commit |
do_use(self, dbase)Switch active databases. dbase becomes the new name, and prompts the user for the location. Commits changes to original DB. |
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.
|
postcmd(self, stop, line)I need to have the last command altered _after_ the current command is run
|
precmd(self, line)Hook method executed just before the command line is interpreted, but after the input prompt is generated and issued.
|
Class Variable Details |
---|
prompt
|
prompt2
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:18 2003 | http://epydoc.sf.net |