Enhancement - append

- Implemented append command.
This commit is contained in:
Paul Beckingham
2009-06-15 01:44:42 -04:00
parent 3d9ec60153
commit 98316f7ab1
3 changed files with 59 additions and 57 deletions

View File

@@ -162,7 +162,7 @@ std::string Context::dispatch ()
int gcMod = 0; // Change occurred by way of gc.
std::string out;
// TODO Just look at this thing. It just cries out for a dispatch table.
// TODO Just look at this thing. It cries out for a dispatch table.
if (cmd.command == "projects") { out = handleProjects (); }
else if (cmd.command == "tags") { out = handleTags (); }
else if (cmd.command == "colors") { out = handleColor (); }
@@ -178,7 +178,9 @@ std::string Context::dispatch ()
else if (cmd.command == "add") { out = handleAdd (); }
/*
else if (cmd.command == "" && task.getId ()) { out = handleModify (); }
*/
else if (cmd.command == "append") { out = handleAppend (); }
/*
else if (cmd.command == "annotate") { out = handleAnnotate (); }
else if (cmd.command == "done") { out = handleDone (); }
else if (cmd.command == "undelete") { out = handleUndelete (); }