Module shell :: Class YumShell
[hide private]
[frames] | no frames]

Class YumShell

source code


Interactive yum shell.

Instance Methods [hide private]
 
__init__(self, base)
Instantiate a line-oriented interpreter framework.
source code
 
_shlex_split(self, input_string)
split the input using shlex rules, and error or exit accordingly
source code
 
script(self) source code
 
default(self, line)
Called on an input line when the command prefix is not recognized.
source code
 
emptyline(self)
Called when an empty line is entered in response to the prompt.
source code
 
completenames(self, text, line, begidx, endidx) source code
 
do_help(self, arg) source code
 
do_EOF(self, line) source code
 
do_quit(self, line) source code
 
do_exit(self, line) source code
 
do_ts(self, line) source code
 
do_transaction(self, line) source code
 
do_config(self, line) source code
 
do_repository(self, line) source code
 
do_repo(self, line) source code
 
do_test(self, line) source code
 
do_run(self, line) source code

Inherited from cmd.Cmd: cmdloop, columnize, complete, complete_help, completedefault, get_names, onecmd, parseline, postcmd, postloop, precmd, preloop, print_topics

Class Variables [hide private]

Inherited from cmd.Cmd: doc_header, doc_leader, identchars, intro, lastcmd, misc_header, nohelp, prompt, ruler, undoc_header, use_rawinput

Method Details [hide private]

__init__(self, base)
(Constructor)

source code 

Instantiate a line-oriented interpreter framework.

The optional argument 'completekey' is the readline name of a completion key; it defaults to the Tab key. If completekey is not None and the readline module is available, command completion is done automatically. The optional arguments stdin and stdout specify alternate input and output file objects; if not specified, sys.stdin and sys.stdout are used.

Overrides: cmd.Cmd.__init__
(inherited documentation)

default(self, line)

source code 

Called on an input line when the command prefix is not recognized.

If this method is not overridden, it prints an error message and returns.

Overrides: cmd.Cmd.default
(inherited documentation)

emptyline(self)

source code 

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.

Overrides: cmd.Cmd.emptyline
(inherited documentation)

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

source code 
Overrides: cmd.Cmd.completenames

do_help(self, arg)

source code 
Overrides: cmd.Cmd.do_help