mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Commands - modify
- Migrated handleModify to CmdModify.
This commit is contained in:
parent
510ce650a6
commit
a2da93b681
8 changed files with 240 additions and 168 deletions
|
@ -249,13 +249,12 @@ int Context::dispatch (std::string &out)
|
|||
Timer t ("Context::dispatch");
|
||||
|
||||
// TODO Chain-of-command pattern dispatch.
|
||||
if (cmd.command == "" && sequence.size ()) { rc = handleModify (out); }
|
||||
// ...
|
||||
|
||||
// Commands that display IDs and therefore need TDB::gc first.
|
||||
// ...
|
||||
|
||||
// If the command is not recognized, display usage.
|
||||
else { rc = commands["help"]->execute (commandLine, out); }
|
||||
rc = commands["help"]->execute (commandLine, out);
|
||||
|
||||
// Only update the shadow file if such an update was not suppressed (shadow),
|
||||
if ((cmd.isWriteCommand () ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue