A class for asking a question where in addition you can have the set
command define and modifying the param_card/run_card correctly
|
__init__(self,
question,
allow_arg=[ ] ,
default=None,
mother_interface=None,
*arg,
**opt)
Instantiate a line-oriented interpreter framework. |
source code
|
|
|
|
|
|
|
|
|
get_question(self)
define the current question. |
source code
|
|
|
complete_set(self,
text,
line,
begidx,
endidx)
Complete the set command |
source code
|
|
|
|
|
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. |
source code
|
|
Inherited from extended_cmd.SmartQuestion :
__call__ ,
completenames ,
emptyline ,
get_names ,
onecmd ,
postcmd ,
preloop
Inherited from extended_cmd.BasicCmd :
complete ,
deal_multiple_categories ,
getTerminalSize ,
print_suggestions
Inherited from cmd.Cmd :
columnize ,
complete_help ,
completedefault ,
parseline ,
postloop ,
precmd ,
print_topics
|