Commands - shell

- Migrated handleShell to CmdShell.
- Note there is a segfault bug that will probably go away by itself when
  Context::parse is obsoleted.
This commit is contained in:
Paul Beckingham 2011-05-28 14:22:38 -04:00
parent 4857269d12
commit b075f1252c
9 changed files with 161 additions and 76 deletions

View file

@ -36,6 +36,7 @@
#include <CmdInfo.h>
#include <CmdInstall.h>
#include <CmdLogo.h>
#include <CmdShell.h>
#include <CmdShow.h>
#include <CmdTags.h>
#include <CmdTip.h>
@ -58,6 +59,7 @@ void Command::factory (std::map <std::string, Command*>& all)
c = new CmdInfo (); all[c->keyword ()] = c;
c = new CmdInstall (); all[c->keyword ()] = c;
c = new CmdLogo (); all[c->keyword ()] = c;
c = new CmdShell (); all[c->keyword ()] = c;
c = new CmdShow (); all[c->keyword ()] = c;
c = new CmdTags (); all[c->keyword ()] = c;
c = new CmdTip (); all[c->keyword ()] = c;