Commands - color

- Migrated handleColor to CmdColor.
This commit is contained in:
Paul Beckingham 2011-05-30 00:59:15 -04:00
parent d021bb8188
commit 0429949de5
9 changed files with 291 additions and 208 deletions

View file

@ -247,8 +247,7 @@ int Context::dispatch (std::string &out)
Timer t ("Context::dispatch");
// TODO Chain-of-command pattern dispatch.
if (cmd.command == "colors") { rc = handleColor (out); }
else if (cmd.command == "config") { rc = handleConfig (out); }
if (cmd.command == "config") { rc = handleConfig (out); }
else if (cmd.command == "summary") { rc = handleReportSummary (out); }
else if (cmd.command == "calendar") { rc = handleReportCalendar (out); }
else if (cmd.command == "timesheet") { rc = handleReportTimesheet (out); }