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,
cards=[ ] ,
mode=' auto ' ,
*args,
**opt)
Instantiate a line-oriented interpreter framework. |
source code
|
|
|
complete_set(self,
text,
line,
begidx,
endidx)
Complete the set command |
source code
|
|
|
do_set(self,
line)
edit the value of one parameter in the card |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
complete_compute_widths(self,
*args,
**opts) |
source code
|
|
|
help_asperge(self)
Help associated to the asperge command |
source code
|
|
|
complete_asperge(self,
text,
line,
begidx,
endidx) |
source code
|
|
|
|
|
copy_file(self,
path)
detect the type of the file and overwritte the current file |
source code
|
|
|
|
Inherited from extended_cmd.OneLinePathCompletion :
completedefault ,
completenames ,
postcmd ,
precmd
Inherited from extended_cmd.SmartQuestion :
__call__ ,
cmdloop ,
emptyline ,
get_names ,
onecmd ,
preloop
Inherited from extended_cmd.BasicCmd :
complete ,
deal_multiple_categories ,
getTerminalSize ,
print_suggestions
Inherited from cmd.Cmd :
columnize ,
complete_help ,
do_help ,
parseline ,
postloop ,
print_topics
|