Commands - color
- Migrated handleColor to CmdColor.
This commit is contained in:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user