mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Expressions
- Broke out expression handling into two distinct flavors: filter and expression. Filters need lots of preparation and mapping, which includes implicit 'AND' operators, expansion of syntactic sugar like /pattern/ etc and evaluate to a Boolean. Expressions are simpler wiht less preparation, and evaluate to a Variant.
This commit is contained in:
parent
d66729adf3
commit
e08d840ba1
6 changed files with 150 additions and 85 deletions
|
@ -78,7 +78,9 @@ int CmdLog::execute (std::string& output)
|
|||
task.validate ();
|
||||
context.tdb2.add (task);
|
||||
|
||||
/*
|
||||
context.footnote (onProjectChange (task));
|
||||
*/
|
||||
context.tdb2.commit ();
|
||||
|
||||
if (context.config.getBoolean ("echo.command"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue