Separating the 'task shell' command in a separate executable 'tasksh' and enabling command history traversal using GNU Readline

This commit is contained in:
Haitham Gad 2013-03-09 19:00:56 -05:00 committed by Paul Beckingham
parent 69a23b05a9
commit f5d6da2a7b
34 changed files with 408 additions and 681 deletions

View file

@ -40,7 +40,6 @@ set (commands_SRCS Command.cpp Command.h
CmdPull.cpp CmdPull.h
CmdPush.cpp CmdPush.h
CmdReports.cpp CmdReports.h
CmdShell.cpp CmdShell.h
CmdShow.cpp CmdShow.h
CmdStart.cpp CmdStart.h
CmdStatistics.cpp CmdStatistics.h

View file

@ -77,7 +77,6 @@
#include <CmdPull.h>
#include <CmdPush.h>
#include <CmdReports.h>
#include <CmdShell.h>
#include <CmdShow.h>
#include <CmdStart.h>
#include <CmdStatistics.h>
@ -152,7 +151,6 @@ void Command::factory (std::map <std::string, Command*>& all)
c = new CmdPull (); all[c->keyword ()] = c;
c = new CmdPush (); all[c->keyword ()] = c;
c = new CmdReports (); all[c->keyword ()] = c;
c = new CmdShell (); all[c->keyword ()] = c;
c = new CmdShow (); all[c->keyword ()] = c;
c = new CmdStart (); all[c->keyword ()] = c;
c = new CmdStatistics (); all[c->keyword ()] = c;