mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Commands - info
- Migrated 'info' command to CmdInfo. - Renamed 'info' command to 'information'.
This commit is contained in:
parent
306f10b420
commit
0ce198ab8c
10 changed files with 451 additions and 363 deletions
|
@ -230,6 +230,9 @@ int Context::dispatch2 (std::string &out)
|
|||
return c->execute (commandLine, out);
|
||||
}
|
||||
|
||||
// TODO Need to invoke 'information' when a sequence/filter is present, but
|
||||
// no command is specified.
|
||||
|
||||
// TODO When ::dispatch is eliminated, show usage on unrecognized command.
|
||||
// commands["help"]->execute (commandLine, out);
|
||||
|
||||
|
@ -248,7 +251,6 @@ int Context::dispatch (std::string &out)
|
|||
else if (cmd.command == "colors") { rc = handleColor (out); }
|
||||
else if (cmd.command == "config") { rc = handleConfig (out); }
|
||||
else if (cmd.command == "stats") { rc = handleReportStats (out); }
|
||||
else if (cmd.command == "info") { rc = handleInfo (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); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue