mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Feature #546
- Added feature #546, which is a 'count' command that counts tasks, and is intended to help scripts that manipulate task output. - Added unit tests. - Added man page description.
This commit is contained in:
parent
4c40784328
commit
d7de67d242
10 changed files with 129 additions and 0 deletions
|
@ -145,6 +145,7 @@ void Cmd::load ()
|
|||
commands.push_back ("burndown.daily");
|
||||
commands.push_back ("burndown.weekly");
|
||||
commands.push_back ("burndown.monthly");
|
||||
commands.push_back ("count");
|
||||
|
||||
// Commands whose names are localized.
|
||||
commands.push_back (context.stringtable.get (CMD_ADD, "add"));
|
||||
|
@ -250,6 +251,7 @@ bool Cmd::isReadOnlyCommand ()
|
|||
command == "burndown.daily" ||
|
||||
command == "burndown.weekly" ||
|
||||
command == "burndown.monthly" ||
|
||||
command == "count" ||
|
||||
command == context.stringtable.get (CMD_CALENDAR, "calendar") ||
|
||||
command == context.stringtable.get (CMD_COLORS, "colors") ||
|
||||
command == context.stringtable.get (CMD_DIAGNOSTICS, "diagnostics") ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue