Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | cmdloop |
def | precmd |
def | postcmd |
def | preloop |
def | postloop |
def | parseline |
def | onecmd |
def | emptyline |
def | default |
def | completedefault |
def | completenames |
def | complete |
def | get_names |
def | complete_help |
def | do_help |
def | print_topics |
Data Fields | |
lastcmd | |
completion_matches | |
Static Public Attributes | |
prompt = PROMPT | |
identchars = IDENTCHARS | |
string | ruler = '=' |
string | lastcmd = '' |
list | cmdqueue = [] |
intro = None | |
string | doc_leader = "" |
string | doc_header = "Documented commands (type help <topic>):" |
string | misc_header = "Miscellaneous help topics:" |
string | undoc_header = "Undocumented commands:" |
string | nohelp = "*** No help on %s" |
int | use_rawinput = 1 |
def __init__ | ( | self, | |
completekey = 'tab' |
|||
) |
Definition at line 69 of file cmd.py.
References Cmd.complete(), and quest_tutorial.complete.
def cmdloop | ( | self, | |
intro = None |
|||
) |
Definition at line 78 of file cmd.py.
References Cmd.cmdqueue, Cmd.intro, Cmd.onecmd(), Cmd.postcmd(), Cmd.postloop(), Cmd.precmd(), Cmd.preloop(), Cmd.prompt, and Cmd.use_rawinput.
def 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.
Definition at line 166 of file cmd.py.
References Cmd.completedefault(), Cmd.completenames(), and Cmd.parseline().
def complete_help | ( | self, | |
args | |||
) |
Definition at line 209 of file cmd.py.
References Cmd.completenames().
def completedefault | ( | self, | |
ignored | |||
) |
def completenames | ( | self, | |
text, | |||
ignored | |||
) |
def default | ( | self, | |
line | |||
) |
def do_help | ( | self, | |
arg | |||
) |
Definition at line 212 of file cmd.py.
References Cmd.doc_header, Cmd.doc_leader, Cmd.get_names(), Cmd.misc_header, Cmd.nohelp, Cmd.print_topics(), and Cmd.undoc_header.
def emptyline | ( | self) |
Definition at line 152 of file cmd.py.
References Cmd.lastcmd, and Cmd.onecmd().
def get_names | ( | self) |
def onecmd | ( | self, | |
line | |||
) |
Definition at line 136 of file cmd.py.
References Cmd.default(), Cmd.emptyline(), and Cmd.parseline().
def postcmd | ( | self, | |
stop, | |||
line | |||
) |
def precmd | ( | self, | |
line | |||
) |
def print_topics | ( | self, | |
header, | |||
cmds, | |||
cmdlen, | |||
maxcol | |||
) |
|
static |
|
static |