mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Commands - history.monthly, history.annual, ghistory.monthly, ghistory.annual
- Migrated all history reports into CmdHistory objects.
This commit is contained in:
parent
b9246e04b2
commit
82eebc93bf
9 changed files with 140 additions and 55 deletions
|
@ -249,10 +249,6 @@ int Context::dispatch (std::string &out)
|
|||
// TODO Chain-of-command pattern dispatch.
|
||||
if (cmd.command == "colors") { rc = handleColor (out); }
|
||||
else if (cmd.command == "config") { rc = handleConfig (out); }
|
||||
else if (cmd.command == "history.monthly") { rc = handleReportHistoryMonthly (out); }
|
||||
else if (cmd.command == "history.annual") { rc = handleReportHistoryAnnual (out); }
|
||||
else if (cmd.command == "ghistory.monthly") { rc = handleReportGHistoryMonthly (out); }
|
||||
else if (cmd.command == "ghistory.annual") { rc = handleReportGHistoryAnnual (out); }
|
||||
else if (cmd.command == "burndown.daily") { rc = handleReportBurndownDaily (out); }
|
||||
else if (cmd.command == "burndown.weekly") { rc = handleReportBurndownWeekly (out); }
|
||||
else if (cmd.command == "burndown.monthly") { rc = handleReportBurndownMonthly (out); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue