Package AccessGrid :: Module DataStoreClient :: Class DataStoreShell
[show private | hide private]
[frames | no frames]

Class DataStoreShell

Cmd --+
      |
     DataStoreShell


Method Summary
  __init__(self, dsc)
  do_cat(self, arg)
  do_copystdin(self, arg)
Copy stdin to a file.
  do_del(self, arg)
  do_dir(self, arg)
  do_EOF(self, arg)
  do_get(self, arg)
  do_head(self, arg)
  do_lcd(self, arg)
  do_less(self, arg)
  do_lpwd(self, arg)
  do_ls(self, arg)
  do_more(self, arg)
  do_put(self, arg)
  do_quit(self, arg)
  do_rm(self, arg)
  do_update(self, arg)
  emptyline(self)
Called when an empty line is entered in response to the prompt.
  listFiles(self, arg)
  pageFile(self, file, pager)
  run(self)
    Inherited from Cmd
  cmdloop(self, intro)
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.
  columnize(self, list, displaywidth)
Display a list of strings as a compact set of columns.
  complete(self, text, state)
Return the next possible completion for 'text'.
  complete_help(self, *args)
  completedefault(self, *ignored)
Method called to complete an input line when no command-specific complete_*() method is available.
  completenames(self, text, *ignored)
  default(self, line)
Called on an input line when the command prefix is not recognized.
  do_help(self, arg)
  get_names(self)
  onecmd(self, line)
Interpret the argument as though it had been typed in response to the prompt.
  parseline(self, line)
  postcmd(self, stop, line)
Hook method executed just after a command dispatch is finished.
  postloop(self)
Hook method executed once when the cmdloop() method is about to return.
  precmd(self, line)
Hook method executed just before the command line is interpreted, but after the input prompt is generated and issued.
  preloop(self)
Hook method executed once when the cmdloop() method is called.
  print_topics(self, header, cmds, cmdlen, maxcol)

Class Variable Summary
    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 prompt = '(Cmd) '
str ruler = '='
str undoc_header = 'Undocumented commands:'
int use_rawinput = 1                                                                     

Method Details

do_copystdin(self, arg)

Copy stdin to a file.

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.
Overrides:
cmd.Cmd.emptyline (inherited documentation)

Generated by Epydoc 2.1 on Thu Apr 14 16:39:30 2005 http://epydoc.sf.net