doing 2.1.12 → 2.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +8 -8
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/CHANGELOG.md +11 -0
  6. data/Gemfile.lock +1 -1
  7. data/README.md +1 -1
  8. data/bin/doing +120 -45
  9. data/docs/doc/Array.html +1 -1
  10. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  11. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  12. data/docs/doc/BooleanTermParser/Query.html +1 -1
  13. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  14. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  15. data/docs/doc/BooleanTermParser.html +1 -1
  16. data/docs/doc/Doing/Color.html +1 -1
  17. data/docs/doc/Doing/Completion.html +1 -1
  18. data/docs/doc/Doing/Configuration.html +3 -3
  19. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  20. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  21. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  22. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  23. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  24. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  25. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  26. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  27. data/docs/doc/Doing/Errors.html +1 -1
  28. data/docs/doc/Doing/Hooks.html +1 -1
  29. data/docs/doc/Doing/Item.html +116 -1
  30. data/docs/doc/Doing/Items.html +65 -1
  31. data/docs/doc/Doing/LogAdapter.html +1 -1
  32. data/docs/doc/Doing/Note.html +1 -1
  33. data/docs/doc/Doing/Pager.html +1 -1
  34. data/docs/doc/Doing/Plugins.html +1 -1
  35. data/docs/doc/Doing/Prompt.html +1 -1
  36. data/docs/doc/Doing/Section.html +1 -1
  37. data/docs/doc/Doing/TemplateString.html +1 -1
  38. data/docs/doc/Doing/Util/Backup.html +84 -1
  39. data/docs/doc/Doing/Util.html +1 -1
  40. data/docs/doc/Doing/WWID.html +174 -1
  41. data/docs/doc/Doing.html +2 -2
  42. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  43. data/docs/doc/GLI/Commands.html +1 -1
  44. data/docs/doc/GLI.html +1 -1
  45. data/docs/doc/Hash.html +1 -1
  46. data/docs/doc/PhraseParser/Operator.html +1 -1
  47. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  48. data/docs/doc/PhraseParser/Query.html +1 -1
  49. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  50. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  51. data/docs/doc/PhraseParser/TermClause.html +1 -1
  52. data/docs/doc/PhraseParser.html +1 -1
  53. data/docs/doc/Status.html +1 -1
  54. data/docs/doc/String.html +1 -1
  55. data/docs/doc/Symbol.html +1 -1
  56. data/docs/doc/Time.html +1 -1
  57. data/docs/doc/_index.html +1 -1
  58. data/docs/doc/file.README.html +2 -2
  59. data/docs/doc/index.html +2 -2
  60. data/docs/doc/method_list.html +253 -197
  61. data/docs/doc/top-level-namespace.html +1 -1
  62. data/doing.rdoc +202 -40
  63. data/lib/completion/_doing.zsh +24 -20
  64. data/lib/completion/doing.bash +41 -30
  65. data/lib/completion/doing.fish +23 -1
  66. data/lib/doing/item.rb +119 -0
  67. data/lib/doing/version.rb +1 -1
  68. data/lib/doing/wwid.rb +20 -5
  69. metadata +2 -2
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Tue Dec 21 14:44:17 2021 by
105
+ Generated on Fri Jan 14 21:59:13 2022 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
107
  0.9.26 (ruby-3.0.1).
108
108
  </div>
data/doing.rdoc CHANGED
@@ -5,12 +5,12 @@ record of what you've been doing, complete with tag-based time tracking. The
5
5
  command line tool allows you to add entries, annotate with tags and notes, and
6
6
  view your entries with myriad options, with a focus on a "natural" language syntax.
7
7
 
8
- v2.1.10
8
+ v2.1.13
9
9
 
10
10
  === Global Options
11
11
  === --config_file arg
12
12
 
13
- Use a specific configuration file. Deprecated, set $DOING_CONFIG instead.
13
+ Use a specific configuration file. Deprecated, set $DOING_CONFIG instead
14
14
 
15
15
  [Default Value] /Users/ttscoff/.config/doing/config.yml
16
16
 
@@ -90,11 +90,11 @@ Add a new section to the "doing" file
90
90
  ==== Command: <tt>again|resume </tt>
91
91
  Repeat last entry as new entry
92
92
 
93
- This command is designed to allow multiple time intervals to be created for an entry by duplicating it with a new start (and end, eventually) time.
93
+ This command is designed to allow multiple time intervals to be created for an entry by duplicating it with a new start (and end, eventually) time
94
94
  ===== Options
95
95
  ===== --bool BOOLEAN
96
96
 
97
- Boolean used to combine multiple tags. Use PATTERN to parse + and - as booleans.
97
+ Boolean used to combine multiple tags. Use PATTERN to parse + and - as booleans
98
98
 
99
99
  [Default Value] PATTERN
100
100
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -139,11 +139,19 @@ Repeat last entry matching search. Surround with
139
139
 
140
140
  ===== --tag TAG
141
141
 
142
- Repeat last entry matching tags. Combine multiple tags with a comma. Wildcards allowed (*, ?).
142
+ Repeat last entry matching tags. Combine multiple tags with a comma. Wildcards allowed (*, ?)
143
143
 
144
144
  [Default Value] None
145
145
 
146
146
 
147
+ ===== --val QUERY
148
+
149
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
150
+
151
+ [Default Value] None
152
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
153
+
154
+
147
155
  ===== -e|--editor
148
156
  Edit duplicated entry with vim before adding
149
157
 
@@ -182,7 +190,7 @@ Archive entries older than date
182
190
 
183
191
  ===== --bool BOOLEAN
184
192
 
185
- Tag boolean (AND|OR|NOT). Use PATTERN to parse + and - as booleans.
193
+ Tag boolean (AND|OR|NOT). Use PATTERN to parse + and - as booleans
186
194
 
187
195
  [Default Value] PATTERN
188
196
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -220,9 +228,17 @@ Move entries to
220
228
 
221
229
  ===== --tag TAG
222
230
 
223
- Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?). Added for compatibility with other commands.
231
+ Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?). Added for compatibility with other commands
232
+
233
+ [Default Value] None
234
+
235
+
236
+ ===== --val QUERY
237
+
238
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
224
239
 
225
240
  [Default Value] None
241
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
226
242
 
227
243
 
228
244
  ===== --[no-]label
@@ -303,11 +319,11 @@ Autotag last entry (or entries) not marked @done
303
319
  ==== Command: <tt>cancel COUNT</tt>
304
320
  End last X entries with no time tracked
305
321
 
306
- Adds @done tag without datestamp so no elapsed time is recorded. Alias for `doing finish --no-date`.
322
+ Adds @done tag without datestamp so no elapsed time is recorded. Alias for `doing finish --no-date`
307
323
  ===== Options
308
324
  ===== --bool BOOLEAN
309
325
 
310
- Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans.
326
+ Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans
311
327
 
312
328
  [Default Value] PATTERN
313
329
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -337,11 +353,19 @@ Cancel the last X entries matching search filter, surround with slashes for rege
337
353
 
338
354
  ===== --tag TAG
339
355
 
340
- Cancel the last X entries containing TAG. Separate multiple tags with comma (--tag=tag1,tag2). Wildcards allowed (*, ?).
356
+ Cancel the last X entries containing TAG. Separate multiple tags with comma (--tag=tag1,tag2). Wildcards allowed (*, ?)
341
357
 
342
358
  [Default Value] None
343
359
 
344
360
 
361
+ ===== --val QUERY
362
+
363
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
364
+
365
+ [Default Value] None
366
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
367
+
368
+
345
369
  ===== -a|--archive
346
370
  Archive entries
347
371
 
@@ -493,7 +517,7 @@ Update default config file, adding any missing keys
493
517
 
494
518
  [Default Command] edit
495
519
  ==== Command: <tt>done|did ENTRY</tt>
496
- Add a completed item with @done(date). No argument finishes last entry.
520
+ Add a completed item with @done(date). No argument finishes last entry
497
521
 
498
522
  Use this command to add an entry after you've already finished it. It will be immediately marked as @done.
499
523
  You can modify the start and end times of the entry using the --back, --took, and --at flags, making it an easy
@@ -583,7 +607,7 @@ Backdate completed date to date string [4pm|20m|2h|yesterday noon]
583
607
 
584
608
  ===== --bool BOOLEAN
585
609
 
586
- Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans.
610
+ Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans
587
611
 
588
612
  [Default Value] PATTERN
589
613
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -626,6 +650,14 @@ Finish the last X entries containing TAG.
626
650
  [Default Value] None
627
651
 
628
652
 
653
+ ===== --val QUERY
654
+
655
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
656
+
657
+ [Default Value] None
658
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
659
+
660
+
629
661
  ===== -a|--archive
630
662
  Archive entries
631
663
 
@@ -677,18 +709,26 @@ To search with regular expressions, single quote the string and surround with sl
677
709
  ===== Options
678
710
  ===== --after DATE_STRING
679
711
 
680
- Search entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
712
+ Search entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
681
713
 
682
714
  [Default Value] None
683
715
 
684
716
 
685
717
  ===== --before DATE_STRING
686
718
 
687
- Search entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
719
+ Search entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
688
720
 
689
721
  [Default Value] None
690
722
 
691
723
 
724
+ ===== --bool arg
725
+
726
+ Combine multiple tags or value queries using AND, OR, or NOT
727
+
728
+ [Default Value] AND
729
+ [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
730
+
731
+
692
732
  ===== --case TYPE
693
733
 
694
734
  Case sensitivity for search string matching [(c)ase-sensitive, (i)gnore, (s)mart]
@@ -731,11 +771,29 @@ Sort tags by (name|time)
731
771
  [Must Match] (?i-mx:^(?:name|time)$)
732
772
 
733
773
 
774
+ ===== --val QUERY
775
+
776
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
777
+
778
+ [Default Value] None
779
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
780
+
781
+
782
+ ===== -d|--delete
783
+ Delete matching entries
784
+
785
+
786
+
734
787
  ===== --[no-]duration
735
788
  Show elapsed time on entries without @done tag
736
789
 
737
790
 
738
791
 
792
+ ===== -e|--editor
793
+ Edit matching entries with vim
794
+
795
+
796
+
739
797
  ===== -i|--interactive
740
798
  Display an interactive menu of results to perform further operations
741
799
 
@@ -880,7 +938,7 @@ allowing `doing last` to target historical entries.
880
938
  ===== Options
881
939
  ===== --bool BOOLEAN
882
940
 
883
- Tag boolean (AND|OR|NOT). Use PATTERN to parse + and - as booleans.
941
+ Tag boolean (AND|OR|NOT). Use PATTERN to parse + and - as booleans
884
942
 
885
943
  [Default Value] PATTERN
886
944
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -910,9 +968,22 @@ Search filter, surround with slashes for regex (/query/), start with single quot
910
968
 
911
969
  ===== --tag TAG
912
970
 
913
- Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?).
971
+ Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?)
972
+
973
+ [Default Value] None
974
+
975
+
976
+ ===== --val QUERY
977
+
978
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
914
979
 
915
980
  [Default Value] None
981
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
982
+
983
+
984
+ ===== -d|--delete
985
+ Delete the last entry
986
+
916
987
 
917
988
 
918
989
  ===== --[no-]duration
@@ -966,7 +1037,7 @@ Mark last entry as flagged
966
1037
  ===== Options
967
1038
  ===== --bool BOOLEAN
968
1039
 
969
- Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans.
1040
+ Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans
970
1041
 
971
1042
  [Default Value] PATTERN
972
1043
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -1010,6 +1081,14 @@ Flag the last entry containing TAG.
1010
1081
  [Default Value] None
1011
1082
 
1012
1083
 
1084
+ ===== --val QUERY
1085
+
1086
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
1087
+
1088
+ [Default Value] None
1089
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
1090
+
1091
+
1013
1092
  ===== -d|--date
1014
1093
  Include current date/time with tag
1015
1094
 
@@ -1095,7 +1174,7 @@ If -r is provided with no other arguments, the last note is removed.
1095
1174
  ===== Options
1096
1175
  ===== --bool BOOLEAN
1097
1176
 
1098
- Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans.
1177
+ Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans
1099
1178
 
1100
1179
  [Default Value] PATTERN
1101
1180
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -1125,11 +1204,19 @@ Add/remove note from last entry matching search filter, surround with slashes fo
1125
1204
 
1126
1205
  ===== --tag TAG
1127
1206
 
1128
- Add/remove note from last entry matching tag. Wildcards allowed (*, ?).
1207
+ Add/remove note from last entry matching tag. Wildcards allowed (*, ?)
1129
1208
 
1130
1209
  [Default Value] None
1131
1210
 
1132
1211
 
1212
+ ===== --val QUERY
1213
+
1214
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
1215
+
1216
+ [Default Value] None
1217
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
1218
+
1219
+
1133
1220
  ===== -e|--editor
1134
1221
  Edit entry with vim
1135
1222
 
@@ -1337,7 +1424,7 @@ If a date string is provided as an argument, the start time will be set to the p
1337
1424
  ===== Options
1338
1425
  ===== --bool BOOLEAN
1339
1426
 
1340
- Boolean (AND|OR|NOT) with which to combine multiple tag filters
1427
+ Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans
1341
1428
 
1342
1429
  [Default Value] PATTERN
1343
1430
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -1367,11 +1454,19 @@ Reset last entry matching search filter, surround with slashes for regex (e.g. "
1367
1454
 
1368
1455
  ===== --tag TAG
1369
1456
 
1370
- Reset last entry matching tag. Wildcards allowed (*, ?).
1457
+ Reset last entry matching tag. Wildcards allowed (*, ?)
1371
1458
 
1372
1459
  [Default Value] None
1373
1460
 
1374
1461
 
1462
+ ===== --val QUERY
1463
+
1464
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
1465
+
1466
+ [Default Value] None
1467
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
1468
+
1469
+
1375
1470
  ===== -i|--interactive
1376
1471
  Select from a menu of matching entries
1377
1472
 
@@ -1409,7 +1504,7 @@ Rotate entries older than date
1409
1504
 
1410
1505
  ===== --bool BOOLEAN
1411
1506
 
1412
- Tag boolean (AND|OR|NOT). Use PATTERN to parse + and - as booleans.
1507
+ Tag boolean (AND|OR|NOT). Use PATTERN to parse + and - as booleans
1413
1508
 
1414
1509
  [Default Value] PATTERN
1415
1510
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -1447,9 +1542,17 @@ Search filter
1447
1542
 
1448
1543
  ===== --tag TAG
1449
1544
 
1450
- Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?). Added for compatibility with other commands.
1545
+ Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?). Added for compatibility with other commands
1546
+
1547
+ [Default Value] None
1548
+
1549
+
1550
+ ===== --val QUERY
1551
+
1552
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
1451
1553
 
1452
1554
  [Default Value] None
1555
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
1453
1556
 
1454
1557
 
1455
1558
  ===== --not
@@ -1483,7 +1586,7 @@ selected entries.
1483
1586
 
1484
1587
  Search in the menu by typing:
1485
1588
 
1486
- sbtrkt fuzzy-match Items that match sbtrkt
1589
+ sbtrkt fuzzy-match Items that match s*b*t*r*k*t
1487
1590
 
1488
1591
  'wild exact-match (quoted) Items that include wild
1489
1592
 
@@ -1491,14 +1594,14 @@ sbtrkt fuzzy-match Items that match sbtrkt
1491
1594
  ===== Options
1492
1595
  ===== --after DATE_STRING
1493
1596
 
1494
- Select from entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
1597
+ Select from entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
1495
1598
 
1496
1599
  [Default Value] None
1497
1600
 
1498
1601
 
1499
1602
  ===== --before DATE_STRING
1500
1603
 
1501
- Select from entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
1604
+ Select from entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
1502
1605
 
1503
1606
  [Default Value] None
1504
1607
 
@@ -1565,6 +1668,14 @@ Tag selected entries
1565
1668
  [Default Value] None
1566
1669
 
1567
1670
 
1671
+ ===== --val QUERY
1672
+
1673
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
1674
+
1675
+ [Default Value] None
1676
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
1677
+
1678
+
1568
1679
  ===== -a|--archive
1569
1680
  Archive selected items
1570
1681
 
@@ -1601,12 +1712,12 @@ Add flag to selected item(s)
1601
1712
 
1602
1713
 
1603
1714
  ===== --force
1604
- Perform action without confirmation.
1715
+ Perform action without confirmation
1605
1716
 
1606
1717
 
1607
1718
 
1608
1719
  ===== --[no-]menu
1609
- Use --no-menu to skip the interactive menu. Use with --query to filter items and act on results automatically. Test with `--output doing` to preview matches.
1720
+ Use --no-menu to skip the interactive menu. Use with --query to filter items and act on results automatically. Test with `--output doing` to preview matches
1610
1721
 
1611
1722
 
1612
1723
 
@@ -1644,14 +1755,14 @@ Age (oldest|newest)
1644
1755
 
1645
1756
  ===== --after DATE_STRING
1646
1757
 
1647
- Show entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
1758
+ Show entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
1648
1759
 
1649
1760
  [Default Value] None
1650
1761
 
1651
1762
 
1652
1763
  ===== -b|--bool BOOLEAN
1653
1764
 
1654
- Tag boolean (AND,OR,NOT). Use PATTERN to parse + and - as booleans.
1765
+ Tag boolean (AND,OR,NOT). Use PATTERN to parse + and - as booleans
1655
1766
 
1656
1767
  [Default Value] PATTERN
1657
1768
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -1659,7 +1770,7 @@ Tag boolean (AND,OR,NOT). Use PATTERN to parse + and - as booleans.
1659
1770
 
1660
1771
  ===== --before DATE_STRING
1661
1772
 
1662
- Show entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
1773
+ Show entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
1663
1774
 
1664
1775
  [Default Value] None
1665
1776
 
@@ -1716,7 +1827,7 @@ Search filter, surround with slashes for regex (/query/), start with single quot
1716
1827
 
1717
1828
  ===== --tag TAG
1718
1829
 
1719
- Tag filter, combine multiple tags with a comma. Use `--tag pick` for a menu of available tags. Wildcards allowed (*, ?). Added for compatibility with other commands.
1830
+ Tag filter, combine multiple tags with a comma. Use `--tag pick` for a menu of available tags. Wildcards allowed (*, ?). Added for compatibility with other commands
1720
1831
 
1721
1832
  [Default Value] None
1722
1833
 
@@ -1737,6 +1848,14 @@ Sort tags by (name|time)
1737
1848
  [Must Match] (?i-mx:^(?:name|time))
1738
1849
 
1739
1850
 
1851
+ ===== --val QUERY
1852
+
1853
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
1854
+
1855
+ [Default Value] None
1856
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
1857
+
1858
+
1740
1859
  ===== --[no-]duration
1741
1860
  Show elapsed time on entries without @done tag
1742
1861
 
@@ -1839,7 +1958,7 @@ Add (or remove) tags from the last entry, or from multiple entries
1839
1958
  ===== Options
1840
1959
  ===== --bool BOOLEAN
1841
1960
 
1842
- Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans.
1961
+ Boolean (AND|OR|NOT) with which to combine multiple tag filters. Use PATTERN to parse + and - as booleans
1843
1962
 
1844
1963
  [Default Value] PATTERN
1845
1964
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -1890,6 +2009,21 @@ Tag the last X entries containing TAG.
1890
2009
  [Default Value] None
1891
2010
 
1892
2011
 
2012
+ ===== -v|--value VALUE
2013
+
2014
+ Include a value, e.g. @tag(value)
2015
+
2016
+ [Default Value] None
2017
+
2018
+
2019
+ ===== --val QUERY
2020
+
2021
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
2022
+
2023
+ [Default Value] None
2024
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
2025
+
2026
+
1893
2027
  ===== -a|--autotag
1894
2028
  Autotag entries based on autotag configuration in ~/.config/doing/config.yml
1895
2029
 
@@ -1935,6 +2069,18 @@ Force exact search string matching (case sensitive)
1935
2069
 
1936
2070
 
1937
2071
 
2072
+ ==== Command: <tt>tag_dir TAG [TAG..]</tt>
2073
+ Set the default tags for the current directory
2074
+
2075
+ Adds default_tags to a .doingrc file in the current directory. Any entry created in this directory or its
2076
+ subdirectories will be tagged with the default tags. You can modify these any time using the `config set` commnand or
2077
+ manually editing the .doingrc file.
2078
+ ===== Options
2079
+ ===== -r|--remove
2080
+ Remove all default_tags from the local .doingrc
2081
+
2082
+
2083
+
1938
2084
  ==== Command: <tt>tags </tt>
1939
2085
  List all tags in the current Doing file
1940
2086
 
@@ -1942,7 +2088,7 @@ List all tags in the current Doing file
1942
2088
  ===== Options
1943
2089
  ===== --bool BOOLEAN
1944
2090
 
1945
- Boolean used to combine multiple tags. Use PATTERN to parse + and - as booleans.
2091
+ Boolean used to combine multiple tags. Use PATTERN to parse + and - as booleans
1946
2092
 
1947
2093
  [Default Value] PATTERN
1948
2094
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -1989,11 +2135,19 @@ Sort by name or count
1989
2135
 
1990
2136
  ===== --tag TAG
1991
2137
 
1992
- Get tags for entries matching tags. Combine multiple tags with a comma. Wildcards allowed (*, ?).
2138
+ Get tags for entries matching tags. Combine multiple tags with a comma. Wildcards allowed (*, ?)
1993
2139
 
1994
2140
  [Default Value] None
1995
2141
 
1996
2142
 
2143
+ ===== --val QUERY
2144
+
2145
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
2146
+
2147
+ [Default Value] None
2148
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
2149
+
2150
+
1997
2151
  ===== -c|--[no-]counts
1998
2152
  Show count of occurrences
1999
2153
 
@@ -2138,7 +2292,7 @@ Select from recent backups
2138
2292
 
2139
2293
 
2140
2294
  ===== -r|--[no-]redo
2141
- Redo last undo. Note: you cannot undo a redo.
2295
+ Redo last undo. Note: you cannot undo a redo
2142
2296
 
2143
2297
 
2144
2298
 
@@ -2150,7 +2304,7 @@ Command line options override view configuration.
2150
2304
  ===== Options
2151
2305
  ===== --after DATE_STRING
2152
2306
 
2153
- View entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
2307
+ View entries newer than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
2154
2308
 
2155
2309
  [Default Value] None
2156
2310
 
@@ -2164,7 +2318,7 @@ Age (oldest|newest)
2164
2318
 
2165
2319
  ===== -b|--bool BOOLEAN
2166
2320
 
2167
- Tag boolean (AND,OR,NOT). Use PATTERN to parse + and - as booleans.
2321
+ Tag boolean (AND,OR,NOT). Use PATTERN to parse + and - as booleans
2168
2322
 
2169
2323
  [Default Value] PATTERN
2170
2324
  [Must Match] (?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)
@@ -2172,7 +2326,7 @@ Tag boolean (AND,OR,NOT). Use PATTERN to parse + and - as booleans.
2172
2326
 
2173
2327
  ===== --before DATE_STRING
2174
2328
 
2175
- View entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day.
2329
+ View entries older than date. If this is only a time (8am, 1:30pm, 15:00), all dates will be included, but entries will be filtered by time of day
2176
2330
 
2177
2331
  [Default Value] None
2178
2332
 
@@ -2228,7 +2382,7 @@ Search filter, surround with slashes for regex (/query/), start with single quot
2228
2382
 
2229
2383
  ===== --tag TAG
2230
2384
 
2231
- Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?).
2385
+ Tag filter, combine multiple tags with a comma. Wildcards allowed (*, ?)
2232
2386
 
2233
2387
  [Default Value] None
2234
2388
 
@@ -2249,6 +2403,14 @@ Sort tags by (name|time)
2249
2403
  [Must Match] (?i-mx:^(?:name|time)$)
2250
2404
 
2251
2405
 
2406
+ ===== --val QUERY
2407
+
2408
+ Perform a tag value query ("@done > two hours ago" or "@progress < 50"). May be used multiple times, combined with --bool
2409
+
2410
+ [Default Value] None
2411
+ [Must Match] (?-mix:^(?:!)?@?(?:\S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)
2412
+
2413
+
2252
2414
  ===== --[no-]color
2253
2415
  Include colors in output
2254
2416