doing 2.1.48 → 2.1.49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +1 -1
  5. data/docs/doc/Array.html +1 -1
  6. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  7. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  8. data/docs/doc/BooleanTermParser/Query.html +1 -1
  9. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  10. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  11. data/docs/doc/BooleanTermParser.html +1 -1
  12. data/docs/doc/Doing/ArrayCleanup.html +1 -1
  13. data/docs/doc/Doing/ArrayNestedHash.html +1 -1
  14. data/docs/doc/Doing/ArrayTags.html +1 -1
  15. data/docs/doc/Doing/CSVExport.html +1 -1
  16. data/docs/doc/Doing/CalendarImport.html +1 -1
  17. data/docs/doc/Doing/Change.html +1 -1
  18. data/docs/doc/Doing/Changes.html +1 -1
  19. data/docs/doc/Doing/ChronifyArray.html +1 -1
  20. data/docs/doc/Doing/ChronifyNumeric.html +1 -1
  21. data/docs/doc/Doing/ChronifyString.html +1 -1
  22. data/docs/doc/Doing/Color.html +1 -1
  23. data/docs/doc/Doing/Completion/BashCompletions.html +1 -1
  24. data/docs/doc/Doing/Completion/FigCompletions.html +445 -0
  25. data/docs/doc/Doing/Completion/FishCompletions.html +1 -1
  26. data/docs/doc/Doing/Completion/StringUtils.html +1 -1
  27. data/docs/doc/Doing/Completion/ZshCompletions.html +1 -1
  28. data/docs/doc/Doing/Completion.html +1 -1
  29. data/docs/doc/Doing/Configuration.html +1 -1
  30. data/docs/doc/Doing/DayOneRenderer.html +1 -1
  31. data/docs/doc/Doing/DayoneExport.html +1 -1
  32. data/docs/doc/Doing/DoingExport.html +1 -1
  33. data/docs/doc/Doing/DoingImport.html +1 -1
  34. data/docs/doc/Doing/Entry.html +1 -1
  35. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  36. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  37. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  38. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  39. data/docs/doc/Doing/Errors/HistoryLimitError.html +1 -1
  40. data/docs/doc/Doing/Errors/InvalidPlugin.html +1 -1
  41. data/docs/doc/Doing/Errors/MissingBackupFile.html +1 -1
  42. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  43. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  44. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  45. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  46. data/docs/doc/Doing/Errors.html +1 -1
  47. data/docs/doc/Doing/HTMLExport.html +1 -1
  48. data/docs/doc/Doing/Hooks.html +1 -1
  49. data/docs/doc/Doing/Item.html +1 -1
  50. data/docs/doc/Doing/ItemDates.html +1 -1
  51. data/docs/doc/Doing/ItemQuery.html +1 -1
  52. data/docs/doc/Doing/ItemState.html +1 -1
  53. data/docs/doc/Doing/ItemTags.html +1 -1
  54. data/docs/doc/Doing/Items.html +1 -1
  55. data/docs/doc/Doing/JSONExport.html +1 -1
  56. data/docs/doc/Doing/JSONImport.html +1 -1
  57. data/docs/doc/Doing/Logger.html +1 -1
  58. data/docs/doc/Doing/MarkdownExport.html +1 -1
  59. data/docs/doc/Doing/Note.html +1 -1
  60. data/docs/doc/Doing/Pager.html +1 -1
  61. data/docs/doc/Doing/Plugins.html +1 -1
  62. data/docs/doc/Doing/Prompt.html +1 -1
  63. data/docs/doc/Doing/PromptChoose.html +1 -1
  64. data/docs/doc/Doing/PromptFZF.html +1 -1
  65. data/docs/doc/Doing/PromptInput.html +1 -1
  66. data/docs/doc/Doing/PromptSTD.html +1 -1
  67. data/docs/doc/Doing/PromptYN.html +1 -1
  68. data/docs/doc/Doing/Section.html +1 -1
  69. data/docs/doc/Doing/StringHighlight.html +1 -1
  70. data/docs/doc/Doing/StringNormalize.html +1 -1
  71. data/docs/doc/Doing/StringQuery.html +1 -1
  72. data/docs/doc/Doing/StringTags.html +1 -1
  73. data/docs/doc/Doing/StringTransform.html +1 -1
  74. data/docs/doc/Doing/StringTruncate.html +1 -1
  75. data/docs/doc/Doing/StringURL.html +1 -1
  76. data/docs/doc/Doing/SymbolNormalize.html +1 -1
  77. data/docs/doc/Doing/TaskPaperExport.html +1 -1
  78. data/docs/doc/Doing/TemplateExport.html +1 -1
  79. data/docs/doc/Doing/TemplateString.html +1 -1
  80. data/docs/doc/Doing/TimingImport.html +1 -1
  81. data/docs/doc/Doing/Types.html +1 -1
  82. data/docs/doc/Doing/Util/Backup.html +1 -1
  83. data/docs/doc/Doing/Util.html +1 -1
  84. data/docs/doc/Doing/Version.html +1 -1
  85. data/docs/doc/Doing/WWID.html +1 -1
  86. data/docs/doc/Doing.html +2 -2
  87. data/docs/doc/FalseClass.html +1 -1
  88. data/docs/doc/GLI/Commands/Help.html +1 -1
  89. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  90. data/docs/doc/GLI/Commands.html +1 -1
  91. data/docs/doc/GLI.html +1 -1
  92. data/docs/doc/Hash.html +1 -1
  93. data/docs/doc/Numeric.html +1 -1
  94. data/docs/doc/Object.html +1 -1
  95. data/docs/doc/PhraseParser/Operator.html +1 -1
  96. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  97. data/docs/doc/PhraseParser/Query.html +1 -1
  98. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  99. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  100. data/docs/doc/PhraseParser/TermClause.html +1 -1
  101. data/docs/doc/PhraseParser.html +1 -1
  102. data/docs/doc/Status.html +1 -1
  103. data/docs/doc/String.html +1 -1
  104. data/docs/doc/Symbol.html +1 -1
  105. data/docs/doc/Time.html +1 -1
  106. data/docs/doc/TrueClass.html +1 -1
  107. data/docs/doc/_index.html +1 -1
  108. data/docs/doc/file.README.html +2 -2
  109. data/docs/doc/index.html +2 -2
  110. data/docs/doc/top-level-namespace.html +1 -1
  111. data/doing.rdoc +1 -1
  112. data/doing.ts +5911 -0
  113. data/export.doing +0 -0
  114. data/lib/completion/doing.ts +4942 -0
  115. data/lib/doing/version.rb +1 -1
  116. data/lib/doing/wwid/modify.rb +1 -1
  117. metadata +6 -2
@@ -0,0 +1,4942 @@
1
+ const completionSpec: Fig.Spec = {
2
+ name: "doing",
3
+ description: "A CLI for a What Was I Doing system",
4
+ subcommands: [
5
+ {
6
+ name: "again",
7
+ description: "Repeat last entry as new entry",
8
+ options: [
9
+ {
10
+ name: ["-X", "--noauto"],
11
+ description: "Exclude auto tags and default tags",
12
+
13
+ },
14
+
15
+ {
16
+ name: ["--ask"],
17
+ description: "Prompt for note via multi-line input",
18
+
19
+ },
20
+
21
+ {
22
+ name: ["--started"],
23
+ description: "Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]",
24
+ args: {
25
+ name: "DATE_STRING",
26
+ description: "DATE_STRING",
27
+ },
28
+
29
+ },
30
+
31
+ {
32
+ name: ["--bool"],
33
+ description: "Boolean used to combine multiple tags",
34
+ args: {
35
+ name: "BOOLEAN",
36
+ description: "BOOLEAN",
37
+ },
38
+
39
+ },
40
+
41
+ {
42
+ name: ["--case"],
43
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
44
+ args: {
45
+ name: "TYPE",
46
+ description: "TYPE",
47
+ },
48
+
49
+ },
50
+
51
+ {
52
+ name: ["-e", "--editor"],
53
+ description: "Edit entry with vim",
54
+
55
+ },
56
+
57
+ {
58
+ name: ["-i", "--interactive"],
59
+ description: "Select item to resume from a menu of matching entries",
60
+
61
+ },
62
+
63
+ {
64
+ name: ["--in"],
65
+ description: "Add new entry to section",
66
+ args: {
67
+ name: "SECTION_NAME",
68
+ description: "SECTION_NAME",
69
+ },
70
+
71
+ },
72
+
73
+ {
74
+ name: ["-n", "--note"],
75
+ description: "Include a note",
76
+ args: {
77
+ name: "TEXT",
78
+ description: "TEXT",
79
+ },
80
+
81
+ },
82
+
83
+ {
84
+ name: ["--not"],
85
+ description: "Repeat items that *don't* match search/tag filters",
86
+
87
+ },
88
+
89
+ {
90
+ name: ["-s", "--section"],
91
+ description: "Get last entry from a specific section",
92
+ args: {
93
+ name: "NAME",
94
+ description: "NAME",
95
+ },
96
+
97
+ },
98
+
99
+ {
100
+ name: ["--search"],
101
+ description: "Filter entries using a search query",
102
+ args: {
103
+ name: "QUERY",
104
+ description: "QUERY",
105
+ },
106
+
107
+ },
108
+
109
+ {
110
+ name: ["--tag"],
111
+ description: "Filter entries by tag",
112
+ args: {
113
+ name: "TAG",
114
+ description: "TAG",
115
+ },
116
+
117
+ },
118
+
119
+ {
120
+ name: ["--val"],
121
+ description: "Perform a tag value query",
122
+ args: {
123
+ name: "QUERY",
124
+ description: "QUERY",
125
+ },
126
+
127
+ },
128
+
129
+ {
130
+ name: ["-x", "--exact"],
131
+ description: "Force exact search string matching",
132
+
133
+ },
134
+
135
+ ],
136
+
137
+ },
138
+
139
+ {
140
+ name: "resume",
141
+ description: "Repeat last entry as new entry",
142
+ options: [
143
+ {
144
+ name: ["-X", "--noauto"],
145
+ description: "Exclude auto tags and default tags",
146
+
147
+ },
148
+
149
+ {
150
+ name: ["--ask"],
151
+ description: "Prompt for note via multi-line input",
152
+
153
+ },
154
+
155
+ {
156
+ name: ["--started"],
157
+ description: "Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]",
158
+ args: {
159
+ name: "DATE_STRING",
160
+ description: "DATE_STRING",
161
+ },
162
+
163
+ },
164
+
165
+ {
166
+ name: ["--bool"],
167
+ description: "Boolean used to combine multiple tags",
168
+ args: {
169
+ name: "BOOLEAN",
170
+ description: "BOOLEAN",
171
+ },
172
+
173
+ },
174
+
175
+ {
176
+ name: ["--case"],
177
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
178
+ args: {
179
+ name: "TYPE",
180
+ description: "TYPE",
181
+ },
182
+
183
+ },
184
+
185
+ {
186
+ name: ["-e", "--editor"],
187
+ description: "Edit entry with vim",
188
+
189
+ },
190
+
191
+ {
192
+ name: ["-i", "--interactive"],
193
+ description: "Select item to resume from a menu of matching entries",
194
+
195
+ },
196
+
197
+ {
198
+ name: ["--in"],
199
+ description: "Add new entry to section",
200
+ args: {
201
+ name: "SECTION_NAME",
202
+ description: "SECTION_NAME",
203
+ },
204
+
205
+ },
206
+
207
+ {
208
+ name: ["-n", "--note"],
209
+ description: "Include a note",
210
+ args: {
211
+ name: "TEXT",
212
+ description: "TEXT",
213
+ },
214
+
215
+ },
216
+
217
+ {
218
+ name: ["--not"],
219
+ description: "Repeat items that *don't* match search/tag filters",
220
+
221
+ },
222
+
223
+ {
224
+ name: ["-s", "--section"],
225
+ description: "Get last entry from a specific section",
226
+ args: {
227
+ name: "NAME",
228
+ description: "NAME",
229
+ },
230
+
231
+ },
232
+
233
+ {
234
+ name: ["--search"],
235
+ description: "Filter entries using a search query",
236
+ args: {
237
+ name: "QUERY",
238
+ description: "QUERY",
239
+ },
240
+
241
+ },
242
+
243
+ {
244
+ name: ["--tag"],
245
+ description: "Filter entries by tag",
246
+ args: {
247
+ name: "TAG",
248
+ description: "TAG",
249
+ },
250
+
251
+ },
252
+
253
+ {
254
+ name: ["--val"],
255
+ description: "Perform a tag value query",
256
+ args: {
257
+ name: "QUERY",
258
+ description: "QUERY",
259
+ },
260
+
261
+ },
262
+
263
+ {
264
+ name: ["-x", "--exact"],
265
+ description: "Force exact search string matching",
266
+
267
+ },
268
+
269
+ ],
270
+
271
+ },
272
+
273
+ {
274
+ name: "archive",
275
+ description: "Move entries between sections",
276
+ options: [
277
+ {
278
+ name: ["--after"],
279
+ description: "Archive entries newer than date",
280
+ args: {
281
+ name: "DATE_STRING",
282
+ description: "DATE_STRING",
283
+ },
284
+
285
+ },
286
+
287
+ {
288
+ name: ["--before"],
289
+ description: "Archive entries older than date",
290
+ args: {
291
+ name: "DATE_STRING",
292
+ description: "DATE_STRING",
293
+ },
294
+
295
+ },
296
+
297
+ {
298
+ name: ["--bool"],
299
+ description: "Boolean used to combine multiple tags",
300
+ args: {
301
+ name: "BOOLEAN",
302
+ description: "BOOLEAN",
303
+ },
304
+
305
+ },
306
+
307
+ {
308
+ name: ["--case"],
309
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
310
+ args: {
311
+ name: "TYPE",
312
+ description: "TYPE",
313
+ },
314
+
315
+ },
316
+
317
+ {
318
+ name: ["--from"],
319
+ description: "Date range",
320
+ args: {
321
+ name: "DATE_OR_RANGE",
322
+ description: "DATE_OR_RANGE",
323
+ },
324
+
325
+ },
326
+
327
+ {
328
+ name: ["-k", "--keep"],
329
+ description: "How many items to keep",
330
+ args: {
331
+ name: "X",
332
+ description: "X",
333
+ },
334
+
335
+ },
336
+
337
+ {
338
+ name: ["--label"],
339
+ description: "Label moved items with @from(SECTION_NAME)",
340
+
341
+ },
342
+
343
+ {
344
+ name: ["--not"],
345
+ description: "Archive items that *don't* match search/tag filters",
346
+
347
+ },
348
+
349
+ {
350
+ name: ["--search"],
351
+ description: "Filter entries using a search query",
352
+ args: {
353
+ name: "QUERY",
354
+ description: "QUERY",
355
+ },
356
+
357
+ },
358
+
359
+ {
360
+ name: ["-t", "--to"],
361
+ description: "Move entries to",
362
+ args: {
363
+ name: "SECTION_NAME",
364
+ description: "SECTION_NAME",
365
+ },
366
+
367
+ },
368
+
369
+ {
370
+ name: ["--tag"],
371
+ description: "Filter entries by tag",
372
+ args: {
373
+ name: "TAG",
374
+ description: "TAG",
375
+ },
376
+
377
+ },
378
+
379
+ {
380
+ name: ["--val"],
381
+ description: "Perform a tag value query",
382
+ args: {
383
+ name: "QUERY",
384
+ description: "QUERY",
385
+ },
386
+
387
+ },
388
+
389
+ {
390
+ name: ["-x", "--exact"],
391
+ description: "Force exact search string matching",
392
+
393
+ },
394
+
395
+ ],
396
+
397
+ },
398
+
399
+ {
400
+ name: "move",
401
+ description: "Move entries between sections",
402
+ options: [
403
+ {
404
+ name: ["--after"],
405
+ description: "Archive entries newer than date",
406
+ args: {
407
+ name: "DATE_STRING",
408
+ description: "DATE_STRING",
409
+ },
410
+
411
+ },
412
+
413
+ {
414
+ name: ["--before"],
415
+ description: "Archive entries older than date",
416
+ args: {
417
+ name: "DATE_STRING",
418
+ description: "DATE_STRING",
419
+ },
420
+
421
+ },
422
+
423
+ {
424
+ name: ["--bool"],
425
+ description: "Boolean used to combine multiple tags",
426
+ args: {
427
+ name: "BOOLEAN",
428
+ description: "BOOLEAN",
429
+ },
430
+
431
+ },
432
+
433
+ {
434
+ name: ["--case"],
435
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
436
+ args: {
437
+ name: "TYPE",
438
+ description: "TYPE",
439
+ },
440
+
441
+ },
442
+
443
+ {
444
+ name: ["--from"],
445
+ description: "Date range",
446
+ args: {
447
+ name: "DATE_OR_RANGE",
448
+ description: "DATE_OR_RANGE",
449
+ },
450
+
451
+ },
452
+
453
+ {
454
+ name: ["-k", "--keep"],
455
+ description: "How many items to keep",
456
+ args: {
457
+ name: "X",
458
+ description: "X",
459
+ },
460
+
461
+ },
462
+
463
+ {
464
+ name: ["--label"],
465
+ description: "Label moved items with @from(SECTION_NAME)",
466
+
467
+ },
468
+
469
+ {
470
+ name: ["--not"],
471
+ description: "Archive items that *don't* match search/tag filters",
472
+
473
+ },
474
+
475
+ {
476
+ name: ["--search"],
477
+ description: "Filter entries using a search query",
478
+ args: {
479
+ name: "QUERY",
480
+ description: "QUERY",
481
+ },
482
+
483
+ },
484
+
485
+ {
486
+ name: ["-t", "--to"],
487
+ description: "Move entries to",
488
+ args: {
489
+ name: "SECTION_NAME",
490
+ description: "SECTION_NAME",
491
+ },
492
+
493
+ },
494
+
495
+ {
496
+ name: ["--tag"],
497
+ description: "Filter entries by tag",
498
+ args: {
499
+ name: "TAG",
500
+ description: "TAG",
501
+ },
502
+
503
+ },
504
+
505
+ {
506
+ name: ["--val"],
507
+ description: "Perform a tag value query",
508
+ args: {
509
+ name: "QUERY",
510
+ description: "QUERY",
511
+ },
512
+
513
+ },
514
+
515
+ {
516
+ name: ["-x", "--exact"],
517
+ description: "Force exact search string matching",
518
+
519
+ },
520
+
521
+ ],
522
+
523
+ },
524
+
525
+ {
526
+ name: "autotag",
527
+ description: "Autotag last entry or filtered entries",
528
+ options: [
529
+ {
530
+ name: ["--bool"],
531
+ description: "Boolean",
532
+ args: {
533
+ name: "BOOLEAN",
534
+ description: "BOOLEAN",
535
+ },
536
+
537
+ },
538
+
539
+ {
540
+ name: ["-c", "--count"],
541
+ description: "How many recent entries to autotag",
542
+ args: {
543
+ name: "COUNT",
544
+ description: "COUNT",
545
+ },
546
+
547
+ },
548
+
549
+ {
550
+ name: ["--force"],
551
+ description: "Don't ask permission to autotag all entries when count is 0",
552
+
553
+ },
554
+
555
+ {
556
+ name: ["-i", "--interactive"],
557
+ description: "Select item(s) to tag from a menu of matching entries",
558
+
559
+ },
560
+
561
+ {
562
+ name: ["-s", "--section"],
563
+ description: "Section",
564
+ args: {
565
+ name: "SECTION_NAME",
566
+ description: "SECTION_NAME",
567
+ },
568
+
569
+ },
570
+
571
+ {
572
+ name: ["--search"],
573
+ description: "Autotag entries matching search filter",
574
+ args: {
575
+ name: "QUERY",
576
+ description: "QUERY",
577
+ },
578
+
579
+ },
580
+
581
+ {
582
+ name: ["--tag"],
583
+ description: "Autotag the last X entries containing TAG",
584
+ args: {
585
+ name: "TAG",
586
+ description: "TAG",
587
+ },
588
+
589
+ },
590
+
591
+ {
592
+ name: ["-u", "--unfinished"],
593
+ description: "Autotag last entry",
594
+
595
+ },
596
+
597
+ ],
598
+
599
+ },
600
+
601
+ {
602
+ name: "cancel",
603
+ description: "End last X entries with no time tracked",
604
+ options: [
605
+ {
606
+ name: ["-a", "--archive"],
607
+ description: "Archive entries",
608
+
609
+ },
610
+
611
+ {
612
+ name: ["--bool"],
613
+ description: "Boolean used to combine multiple tags",
614
+ args: {
615
+ name: "BOOLEAN",
616
+ description: "BOOLEAN",
617
+ },
618
+
619
+ },
620
+
621
+ {
622
+ name: ["--case"],
623
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
624
+ args: {
625
+ name: "TYPE",
626
+ description: "TYPE",
627
+ },
628
+
629
+ },
630
+
631
+ {
632
+ name: ["-i", "--interactive"],
633
+ description: "Select item(s) to cancel from a menu of matching entries",
634
+
635
+ },
636
+
637
+ {
638
+ name: ["--not"],
639
+ description: "Cancel items that *don't* match search/tag filters",
640
+
641
+ },
642
+
643
+ {
644
+ name: ["-s", "--section"],
645
+ description: "Section",
646
+ args: {
647
+ name: "NAME",
648
+ description: "NAME",
649
+ },
650
+
651
+ },
652
+
653
+ {
654
+ name: ["--search"],
655
+ description: "Filter entries using a search query",
656
+ args: {
657
+ name: "QUERY",
658
+ description: "QUERY",
659
+ },
660
+
661
+ },
662
+
663
+ {
664
+ name: ["--tag"],
665
+ description: "Filter entries by tag",
666
+ args: {
667
+ name: "TAG",
668
+ description: "TAG",
669
+ },
670
+
671
+ },
672
+
673
+ {
674
+ name: ["-u", "--unfinished"],
675
+ description: "Cancel last entry",
676
+
677
+ },
678
+
679
+ {
680
+ name: ["--val"],
681
+ description: "Perform a tag value query",
682
+ args: {
683
+ name: "QUERY",
684
+ description: "QUERY",
685
+ },
686
+
687
+ },
688
+
689
+ {
690
+ name: ["-x", "--exact"],
691
+ description: "Force exact search string matching",
692
+
693
+ },
694
+
695
+ ],
696
+
697
+ },
698
+
699
+ {
700
+ name: "changes",
701
+ description: "List recent changes in Doing",
702
+ options: [
703
+ {
704
+ name: ["-C", "--changes"],
705
+ description: "Only output changes",
706
+
707
+ },
708
+
709
+ {
710
+ name: ["-a", "--all"],
711
+ description: "Display all versions",
712
+
713
+ },
714
+
715
+ {
716
+ name: ["-i", "--interactive"],
717
+ description: "Open changelog in interactive viewer",
718
+
719
+ },
720
+
721
+ {
722
+ name: ["-l", "--lookup"],
723
+ description: "Look up a specific version",
724
+ args: {
725
+ name: "VERSION",
726
+ description: "VERSION",
727
+ },
728
+
729
+ },
730
+
731
+ {
732
+ name: ["--markdown"],
733
+ description: "Output raw Markdown",
734
+
735
+ },
736
+
737
+ {
738
+ name: ["--only"],
739
+ description: "Only show changes of type(s)",
740
+ args: {
741
+ name: "TYPES",
742
+ description: "TYPES",
743
+ },
744
+
745
+ },
746
+
747
+ {
748
+ name: ["-p", "--prefix"],
749
+ description: "Include",
750
+
751
+ },
752
+
753
+ {
754
+ name: ["--render"],
755
+ description: "Force rendered output",
756
+
757
+ },
758
+
759
+ {
760
+ name: ["-s", "--search"],
761
+ description: "Show changelogs matching search terms",
762
+ args: {
763
+ name: "arg",
764
+ description: "arg",
765
+ },
766
+
767
+ },
768
+
769
+ {
770
+ name: ["--sort"],
771
+ description: "Sort order",
772
+ args: {
773
+ name: "ORDER",
774
+ description: "ORDER",
775
+ },
776
+
777
+ },
778
+
779
+ ],
780
+
781
+ },
782
+
783
+ {
784
+ name: "changelog",
785
+ description: "List recent changes in Doing",
786
+ options: [
787
+ {
788
+ name: ["-C", "--changes"],
789
+ description: "Only output changes",
790
+
791
+ },
792
+
793
+ {
794
+ name: ["-a", "--all"],
795
+ description: "Display all versions",
796
+
797
+ },
798
+
799
+ {
800
+ name: ["-i", "--interactive"],
801
+ description: "Open changelog in interactive viewer",
802
+
803
+ },
804
+
805
+ {
806
+ name: ["-l", "--lookup"],
807
+ description: "Look up a specific version",
808
+ args: {
809
+ name: "VERSION",
810
+ description: "VERSION",
811
+ },
812
+
813
+ },
814
+
815
+ {
816
+ name: ["--markdown"],
817
+ description: "Output raw Markdown",
818
+
819
+ },
820
+
821
+ {
822
+ name: ["--only"],
823
+ description: "Only show changes of type(s)",
824
+ args: {
825
+ name: "TYPES",
826
+ description: "TYPES",
827
+ },
828
+
829
+ },
830
+
831
+ {
832
+ name: ["-p", "--prefix"],
833
+ description: "Include",
834
+
835
+ },
836
+
837
+ {
838
+ name: ["--render"],
839
+ description: "Force rendered output",
840
+
841
+ },
842
+
843
+ {
844
+ name: ["-s", "--search"],
845
+ description: "Show changelogs matching search terms",
846
+ args: {
847
+ name: "arg",
848
+ description: "arg",
849
+ },
850
+
851
+ },
852
+
853
+ {
854
+ name: ["--sort"],
855
+ description: "Sort order",
856
+ args: {
857
+ name: "ORDER",
858
+ description: "ORDER",
859
+ },
860
+
861
+ },
862
+
863
+ ],
864
+
865
+ },
866
+
867
+ {
868
+ name: "colors",
869
+ description: "List available color variables for configuration templates and views",
870
+
871
+ },
872
+
873
+ {
874
+ name: "commands",
875
+ description: "Enable and disable Doing commands",
876
+
877
+ },
878
+
879
+ {
880
+ name: "completion",
881
+ description: "Generate shell completion scripts for doing",
882
+ options: [
883
+ {
884
+ name: ["-t", "--type"],
885
+ description: "Deprecated",
886
+ args: {
887
+ name: "arg",
888
+ description: "arg",
889
+ },
890
+
891
+ },
892
+
893
+ ],
894
+
895
+ },
896
+
897
+ {
898
+ name: "config",
899
+ description: "Edit the configuration file or output a value from it",
900
+ options: [
901
+ {
902
+ name: ["-d", "--dump"],
903
+ description: "DEPRECATED",
904
+
905
+ },
906
+
907
+ {
908
+ name: ["-u", "--update"],
909
+ description: "DEPRECATED",
910
+
911
+ },
912
+
913
+ ],
914
+
915
+ },
916
+
917
+ {
918
+ name: "done",
919
+ description: "Add a completed item with @done(date)",
920
+ options: [
921
+ {
922
+ name: ["-X", "--noauto"],
923
+ description: "Exclude auto tags and default tags",
924
+
925
+ },
926
+
927
+ {
928
+ name: ["-a", "--archive"],
929
+ description: "Immediately archive the entry",
930
+
931
+ },
932
+
933
+ {
934
+ name: ["--ask"],
935
+ description: "Prompt for note via multi-line input",
936
+
937
+ },
938
+
939
+ {
940
+ name: ["--finished"],
941
+ description: "Set finish date to specific date/time",
942
+ args: {
943
+ name: "DATE_STRING",
944
+ description: "DATE_STRING",
945
+ },
946
+
947
+ },
948
+
949
+ {
950
+ name: ["--started"],
951
+ description: "Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]",
952
+ args: {
953
+ name: "DATE_STRING",
954
+ description: "DATE_STRING",
955
+ },
956
+
957
+ },
958
+
959
+ {
960
+ name: ["--date"],
961
+ description: "Include date",
962
+
963
+ },
964
+
965
+ {
966
+ name: ["-e", "--editor"],
967
+ description: "Edit entry with vim",
968
+
969
+ },
970
+
971
+ {
972
+ name: ["--from"],
973
+ description: "Start and end times as a date/time range `doing done --from \"1am to 8am\"`",
974
+ args: {
975
+ name: "TIME_RANGE",
976
+ description: "TIME_RANGE",
977
+ },
978
+
979
+ },
980
+
981
+ {
982
+ name: ["-n", "--note"],
983
+ description: "Include a note",
984
+ args: {
985
+ name: "TEXT",
986
+ description: "TEXT",
987
+ },
988
+
989
+ },
990
+
991
+ {
992
+ name: ["-r", "--remove"],
993
+ description: "Remove @done tag",
994
+
995
+ },
996
+
997
+ {
998
+ name: ["-s", "--section"],
999
+ description: "Section",
1000
+ args: {
1001
+ name: "NAME",
1002
+ description: "NAME",
1003
+ },
1004
+
1005
+ },
1006
+
1007
+ {
1008
+ name: ["--for"],
1009
+ description: "Set completion date to start date plus interval",
1010
+ args: {
1011
+ name: "INTERVAL",
1012
+ description: "INTERVAL",
1013
+ },
1014
+
1015
+ },
1016
+
1017
+ {
1018
+ name: ["-u", "--unfinished"],
1019
+ description: "Finish last entry not already marked @done",
1020
+
1021
+ },
1022
+
1023
+ ],
1024
+
1025
+ },
1026
+
1027
+ {
1028
+ name: "did",
1029
+ description: "Add a completed item with @done(date)",
1030
+ options: [
1031
+ {
1032
+ name: ["-X", "--noauto"],
1033
+ description: "Exclude auto tags and default tags",
1034
+
1035
+ },
1036
+
1037
+ {
1038
+ name: ["-a", "--archive"],
1039
+ description: "Immediately archive the entry",
1040
+
1041
+ },
1042
+
1043
+ {
1044
+ name: ["--ask"],
1045
+ description: "Prompt for note via multi-line input",
1046
+
1047
+ },
1048
+
1049
+ {
1050
+ name: ["--finished"],
1051
+ description: "Set finish date to specific date/time",
1052
+ args: {
1053
+ name: "DATE_STRING",
1054
+ description: "DATE_STRING",
1055
+ },
1056
+
1057
+ },
1058
+
1059
+ {
1060
+ name: ["--started"],
1061
+ description: "Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]",
1062
+ args: {
1063
+ name: "DATE_STRING",
1064
+ description: "DATE_STRING",
1065
+ },
1066
+
1067
+ },
1068
+
1069
+ {
1070
+ name: ["--date"],
1071
+ description: "Include date",
1072
+
1073
+ },
1074
+
1075
+ {
1076
+ name: ["-e", "--editor"],
1077
+ description: "Edit entry with vim",
1078
+
1079
+ },
1080
+
1081
+ {
1082
+ name: ["--from"],
1083
+ description: "Start and end times as a date/time range `doing done --from \"1am to 8am\"`",
1084
+ args: {
1085
+ name: "TIME_RANGE",
1086
+ description: "TIME_RANGE",
1087
+ },
1088
+
1089
+ },
1090
+
1091
+ {
1092
+ name: ["-n", "--note"],
1093
+ description: "Include a note",
1094
+ args: {
1095
+ name: "TEXT",
1096
+ description: "TEXT",
1097
+ },
1098
+
1099
+ },
1100
+
1101
+ {
1102
+ name: ["-r", "--remove"],
1103
+ description: "Remove @done tag",
1104
+
1105
+ },
1106
+
1107
+ {
1108
+ name: ["-s", "--section"],
1109
+ description: "Section",
1110
+ args: {
1111
+ name: "NAME",
1112
+ description: "NAME",
1113
+ },
1114
+
1115
+ },
1116
+
1117
+ {
1118
+ name: ["--for"],
1119
+ description: "Set completion date to start date plus interval",
1120
+ args: {
1121
+ name: "INTERVAL",
1122
+ description: "INTERVAL",
1123
+ },
1124
+
1125
+ },
1126
+
1127
+ {
1128
+ name: ["-u", "--unfinished"],
1129
+ description: "Finish last entry not already marked @done",
1130
+
1131
+ },
1132
+
1133
+ ],
1134
+
1135
+ },
1136
+
1137
+ {
1138
+ name: "finish",
1139
+ description: "Mark last X entries as @done",
1140
+ options: [
1141
+ {
1142
+ name: ["-a", "--archive"],
1143
+ description: "Archive entries",
1144
+
1145
+ },
1146
+
1147
+ {
1148
+ name: ["--finished"],
1149
+ description: "Set finish date to specific date/time",
1150
+ args: {
1151
+ name: "DATE_STRING",
1152
+ description: "DATE_STRING",
1153
+ },
1154
+
1155
+ },
1156
+
1157
+ {
1158
+ name: ["--auto"],
1159
+ description: "Auto-generate finish dates from next entry's start time",
1160
+
1161
+ },
1162
+
1163
+ {
1164
+ name: ["--started"],
1165
+ description: "Backdate completed date to date string [4pm|20m|2h|yesterday noon]",
1166
+ args: {
1167
+ name: "DATE_STRING",
1168
+ description: "DATE_STRING",
1169
+ },
1170
+
1171
+ },
1172
+
1173
+ {
1174
+ name: ["--bool"],
1175
+ description: "Boolean used to combine multiple tags",
1176
+ args: {
1177
+ name: "BOOLEAN",
1178
+ description: "BOOLEAN",
1179
+ },
1180
+
1181
+ },
1182
+
1183
+ {
1184
+ name: ["--case"],
1185
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
1186
+ args: {
1187
+ name: "TYPE",
1188
+ description: "TYPE",
1189
+ },
1190
+
1191
+ },
1192
+
1193
+ {
1194
+ name: ["--date"],
1195
+ description: "Include date",
1196
+
1197
+ },
1198
+
1199
+ {
1200
+ name: ["--from"],
1201
+ description: "Start and end times as a date/time range `doing done --from \"1am to 8am\"`",
1202
+ args: {
1203
+ name: "TIME_RANGE",
1204
+ description: "TIME_RANGE",
1205
+ },
1206
+
1207
+ },
1208
+
1209
+ {
1210
+ name: ["-i", "--interactive"],
1211
+ description: "Select item(s) to finish from a menu of matching entries",
1212
+
1213
+ },
1214
+
1215
+ {
1216
+ name: ["--not"],
1217
+ description: "Finish items that *don't* match search/tag filters",
1218
+
1219
+ },
1220
+
1221
+ {
1222
+ name: ["-r", "--remove"],
1223
+ description: "Remove @done tag",
1224
+
1225
+ },
1226
+
1227
+ {
1228
+ name: ["-s", "--section"],
1229
+ description: "Section",
1230
+ args: {
1231
+ name: "NAME",
1232
+ description: "NAME",
1233
+ },
1234
+
1235
+ },
1236
+
1237
+ {
1238
+ name: ["--search"],
1239
+ description: "Filter entries using a search query",
1240
+ args: {
1241
+ name: "QUERY",
1242
+ description: "QUERY",
1243
+ },
1244
+
1245
+ },
1246
+
1247
+ {
1248
+ name: ["--for"],
1249
+ description: "Set completion date to start date plus interval",
1250
+ args: {
1251
+ name: "INTERVAL",
1252
+ description: "INTERVAL",
1253
+ },
1254
+
1255
+ },
1256
+
1257
+ {
1258
+ name: ["--tag"],
1259
+ description: "Filter entries by tag",
1260
+ args: {
1261
+ name: "TAG",
1262
+ description: "TAG",
1263
+ },
1264
+
1265
+ },
1266
+
1267
+ {
1268
+ name: ["-u", "--unfinished"],
1269
+ description: "Finish last entry",
1270
+
1271
+ },
1272
+
1273
+ {
1274
+ name: ["--update"],
1275
+ description: "Overwrite existing @done tag with new date",
1276
+
1277
+ },
1278
+
1279
+ {
1280
+ name: ["--val"],
1281
+ description: "Perform a tag value query",
1282
+ args: {
1283
+ name: "QUERY",
1284
+ description: "QUERY",
1285
+ },
1286
+
1287
+ },
1288
+
1289
+ {
1290
+ name: ["-x", "--exact"],
1291
+ description: "Force exact search string matching",
1292
+
1293
+ },
1294
+
1295
+ ],
1296
+
1297
+ },
1298
+
1299
+ {
1300
+ name: "grep",
1301
+ description: "Search for entries",
1302
+ options: [
1303
+ {
1304
+ name: ["--after"],
1305
+ description: "Search entries newer than date",
1306
+ args: {
1307
+ name: "DATE_STRING",
1308
+ description: "DATE_STRING",
1309
+ },
1310
+
1311
+ },
1312
+
1313
+ {
1314
+ name: ["--before"],
1315
+ description: "Search entries older than date",
1316
+ args: {
1317
+ name: "DATE_STRING",
1318
+ description: "DATE_STRING",
1319
+ },
1320
+
1321
+ },
1322
+
1323
+ {
1324
+ name: ["--bool"],
1325
+ description: "Boolean used to combine multiple tags",
1326
+ args: {
1327
+ name: "BOOLEAN",
1328
+ description: "BOOLEAN",
1329
+ },
1330
+
1331
+ },
1332
+
1333
+ {
1334
+ name: ["--case"],
1335
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
1336
+ args: {
1337
+ name: "TYPE",
1338
+ description: "TYPE",
1339
+ },
1340
+
1341
+ },
1342
+
1343
+ {
1344
+ name: ["--config_template"],
1345
+ description: "Output using a template from configuration",
1346
+ args: {
1347
+ name: "TEMPLATE_KEY",
1348
+ description: "TEMPLATE_KEY",
1349
+ },
1350
+
1351
+ },
1352
+
1353
+ {
1354
+ name: ["-d", "--delete"],
1355
+ description: "Delete matching entries",
1356
+
1357
+ },
1358
+
1359
+ {
1360
+ name: ["--duration"],
1361
+ description: "Show elapsed time on entries without @done tag",
1362
+
1363
+ },
1364
+
1365
+ {
1366
+ name: ["-e", "--editor"],
1367
+ description: "Edit matching entries with vim",
1368
+
1369
+ },
1370
+
1371
+ {
1372
+ name: ["--from"],
1373
+ description: "Date range",
1374
+ args: {
1375
+ name: "DATE_OR_RANGE",
1376
+ description: "DATE_OR_RANGE",
1377
+ },
1378
+
1379
+ },
1380
+
1381
+ {
1382
+ name: ["-h", "--hilite"],
1383
+ description: "Highlight search matches in output",
1384
+
1385
+ },
1386
+
1387
+ {
1388
+ name: ["-i", "--interactive"],
1389
+ description: "Display an interactive menu of results to perform further operations",
1390
+
1391
+ },
1392
+
1393
+ {
1394
+ name: ["--not"],
1395
+ description: "Search items that *don't* match search/tag filters",
1396
+
1397
+ },
1398
+
1399
+ {
1400
+ name: ["-o", "--output"],
1401
+ description: "Output to export format",
1402
+ args: {
1403
+ name: "FORMAT",
1404
+ description: "FORMAT",
1405
+ },
1406
+
1407
+ },
1408
+
1409
+ {
1410
+ name: ["--only_timed"],
1411
+ description: "Only show items with recorded time intervals",
1412
+
1413
+ },
1414
+
1415
+ {
1416
+ name: ["-s", "--section"],
1417
+ description: "Section",
1418
+ args: {
1419
+ name: "NAME",
1420
+ description: "NAME",
1421
+ },
1422
+
1423
+ },
1424
+
1425
+ {
1426
+ name: ["--save"],
1427
+ description: "Save all current command line options as a new view",
1428
+ args: {
1429
+ name: "VIEW_NAME",
1430
+ description: "VIEW_NAME",
1431
+ },
1432
+
1433
+ },
1434
+
1435
+ {
1436
+ name: ["-t", "--times"],
1437
+ description: "Show time intervals on @done tasks",
1438
+
1439
+ },
1440
+
1441
+ {
1442
+ name: ["--tag"],
1443
+ description: "Filter entries by tag",
1444
+ args: {
1445
+ name: "TAG",
1446
+ description: "TAG",
1447
+ },
1448
+
1449
+ },
1450
+
1451
+ {
1452
+ name: ["--tag_order"],
1453
+ description: "Tag sort direction",
1454
+ args: {
1455
+ name: "DIRECTION",
1456
+ description: "DIRECTION",
1457
+ },
1458
+
1459
+ },
1460
+
1461
+ {
1462
+ name: ["--tag_sort"],
1463
+ description: "Sort tags by",
1464
+ args: {
1465
+ name: "KEY",
1466
+ description: "KEY",
1467
+ },
1468
+
1469
+ },
1470
+
1471
+ {
1472
+ name: ["--template"],
1473
+ description: "Override output format with a template string containing %placeholders",
1474
+ args: {
1475
+ name: "TEMPLATE_STRING",
1476
+ description: "TEMPLATE_STRING",
1477
+ },
1478
+
1479
+ },
1480
+
1481
+ {
1482
+ name: ["--title"],
1483
+ description: "Title string to be used for output formats that require it",
1484
+ args: {
1485
+ name: "TITLE",
1486
+ description: "TITLE",
1487
+ },
1488
+
1489
+ },
1490
+
1491
+ {
1492
+ name: ["--totals"],
1493
+ description: "Show time totals at the end of output",
1494
+
1495
+ },
1496
+
1497
+ {
1498
+ name: ["--val"],
1499
+ description: "Perform a tag value query",
1500
+ args: {
1501
+ name: "QUERY",
1502
+ description: "QUERY",
1503
+ },
1504
+
1505
+ },
1506
+
1507
+ {
1508
+ name: ["-x", "--exact"],
1509
+ description: "Force exact string matching",
1510
+
1511
+ },
1512
+
1513
+ ],
1514
+
1515
+ },
1516
+
1517
+ {
1518
+ name: "search",
1519
+ description: "Search for entries",
1520
+ options: [
1521
+ {
1522
+ name: ["--after"],
1523
+ description: "Search entries newer than date",
1524
+ args: {
1525
+ name: "DATE_STRING",
1526
+ description: "DATE_STRING",
1527
+ },
1528
+
1529
+ },
1530
+
1531
+ {
1532
+ name: ["--before"],
1533
+ description: "Search entries older than date",
1534
+ args: {
1535
+ name: "DATE_STRING",
1536
+ description: "DATE_STRING",
1537
+ },
1538
+
1539
+ },
1540
+
1541
+ {
1542
+ name: ["--bool"],
1543
+ description: "Boolean used to combine multiple tags",
1544
+ args: {
1545
+ name: "BOOLEAN",
1546
+ description: "BOOLEAN",
1547
+ },
1548
+
1549
+ },
1550
+
1551
+ {
1552
+ name: ["--case"],
1553
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
1554
+ args: {
1555
+ name: "TYPE",
1556
+ description: "TYPE",
1557
+ },
1558
+
1559
+ },
1560
+
1561
+ {
1562
+ name: ["--config_template"],
1563
+ description: "Output using a template from configuration",
1564
+ args: {
1565
+ name: "TEMPLATE_KEY",
1566
+ description: "TEMPLATE_KEY",
1567
+ },
1568
+
1569
+ },
1570
+
1571
+ {
1572
+ name: ["-d", "--delete"],
1573
+ description: "Delete matching entries",
1574
+
1575
+ },
1576
+
1577
+ {
1578
+ name: ["--duration"],
1579
+ description: "Show elapsed time on entries without @done tag",
1580
+
1581
+ },
1582
+
1583
+ {
1584
+ name: ["-e", "--editor"],
1585
+ description: "Edit matching entries with vim",
1586
+
1587
+ },
1588
+
1589
+ {
1590
+ name: ["--from"],
1591
+ description: "Date range",
1592
+ args: {
1593
+ name: "DATE_OR_RANGE",
1594
+ description: "DATE_OR_RANGE",
1595
+ },
1596
+
1597
+ },
1598
+
1599
+ {
1600
+ name: ["-h", "--hilite"],
1601
+ description: "Highlight search matches in output",
1602
+
1603
+ },
1604
+
1605
+ {
1606
+ name: ["-i", "--interactive"],
1607
+ description: "Display an interactive menu of results to perform further operations",
1608
+
1609
+ },
1610
+
1611
+ {
1612
+ name: ["--not"],
1613
+ description: "Search items that *don't* match search/tag filters",
1614
+
1615
+ },
1616
+
1617
+ {
1618
+ name: ["-o", "--output"],
1619
+ description: "Output to export format",
1620
+ args: {
1621
+ name: "FORMAT",
1622
+ description: "FORMAT",
1623
+ },
1624
+
1625
+ },
1626
+
1627
+ {
1628
+ name: ["--only_timed"],
1629
+ description: "Only show items with recorded time intervals",
1630
+
1631
+ },
1632
+
1633
+ {
1634
+ name: ["-s", "--section"],
1635
+ description: "Section",
1636
+ args: {
1637
+ name: "NAME",
1638
+ description: "NAME",
1639
+ },
1640
+
1641
+ },
1642
+
1643
+ {
1644
+ name: ["--save"],
1645
+ description: "Save all current command line options as a new view",
1646
+ args: {
1647
+ name: "VIEW_NAME",
1648
+ description: "VIEW_NAME",
1649
+ },
1650
+
1651
+ },
1652
+
1653
+ {
1654
+ name: ["-t", "--times"],
1655
+ description: "Show time intervals on @done tasks",
1656
+
1657
+ },
1658
+
1659
+ {
1660
+ name: ["--tag"],
1661
+ description: "Filter entries by tag",
1662
+ args: {
1663
+ name: "TAG",
1664
+ description: "TAG",
1665
+ },
1666
+
1667
+ },
1668
+
1669
+ {
1670
+ name: ["--tag_order"],
1671
+ description: "Tag sort direction",
1672
+ args: {
1673
+ name: "DIRECTION",
1674
+ description: "DIRECTION",
1675
+ },
1676
+
1677
+ },
1678
+
1679
+ {
1680
+ name: ["--tag_sort"],
1681
+ description: "Sort tags by",
1682
+ args: {
1683
+ name: "KEY",
1684
+ description: "KEY",
1685
+ },
1686
+
1687
+ },
1688
+
1689
+ {
1690
+ name: ["--template"],
1691
+ description: "Override output format with a template string containing %placeholders",
1692
+ args: {
1693
+ name: "TEMPLATE_STRING",
1694
+ description: "TEMPLATE_STRING",
1695
+ },
1696
+
1697
+ },
1698
+
1699
+ {
1700
+ name: ["--title"],
1701
+ description: "Title string to be used for output formats that require it",
1702
+ args: {
1703
+ name: "TITLE",
1704
+ description: "TITLE",
1705
+ },
1706
+
1707
+ },
1708
+
1709
+ {
1710
+ name: ["--totals"],
1711
+ description: "Show time totals at the end of output",
1712
+
1713
+ },
1714
+
1715
+ {
1716
+ name: ["--val"],
1717
+ description: "Perform a tag value query",
1718
+ args: {
1719
+ name: "QUERY",
1720
+ description: "QUERY",
1721
+ },
1722
+
1723
+ },
1724
+
1725
+ {
1726
+ name: ["-x", "--exact"],
1727
+ description: "Force exact string matching",
1728
+
1729
+ },
1730
+
1731
+ ],
1732
+
1733
+ },
1734
+
1735
+ {
1736
+ name: "help",
1737
+ description: "Shows a list of commands or help for one command",
1738
+ options: [
1739
+
1740
+ ],
1741
+
1742
+ },
1743
+
1744
+ {
1745
+ name: "import",
1746
+ description: "Import entries from an external source",
1747
+ options: [
1748
+ {
1749
+ name: ["--after"],
1750
+ description: "Import entries newer than date",
1751
+ args: {
1752
+ name: "DATE_STRING",
1753
+ description: "DATE_STRING",
1754
+ },
1755
+
1756
+ },
1757
+
1758
+ {
1759
+ name: ["--autotag"],
1760
+ description: "Autotag entries",
1761
+
1762
+ },
1763
+
1764
+ {
1765
+ name: ["--before"],
1766
+ description: "Import entries older than date",
1767
+ args: {
1768
+ name: "DATE_STRING",
1769
+ description: "DATE_STRING",
1770
+ },
1771
+
1772
+ },
1773
+
1774
+ {
1775
+ name: ["--case"],
1776
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
1777
+ args: {
1778
+ name: "TYPE",
1779
+ description: "TYPE",
1780
+ },
1781
+
1782
+ },
1783
+
1784
+ {
1785
+ name: ["--from"],
1786
+ description: "Date range",
1787
+ args: {
1788
+ name: "DATE_OR_RANGE",
1789
+ description: "DATE_OR_RANGE",
1790
+ },
1791
+
1792
+ },
1793
+
1794
+ {
1795
+ name: ["--not"],
1796
+ description: "Import items that *don't* match search/tag/date filters",
1797
+
1798
+ },
1799
+
1800
+ {
1801
+ name: ["--only_timed"],
1802
+ description: "Only import items with recorded time intervals",
1803
+
1804
+ },
1805
+
1806
+ {
1807
+ name: ["--overlap"],
1808
+ description: "Allow entries that overlap existing times",
1809
+
1810
+ },
1811
+
1812
+ {
1813
+ name: ["--prefix"],
1814
+ description: "Prefix entries with",
1815
+ args: {
1816
+ name: "PREFIX",
1817
+ description: "PREFIX",
1818
+ },
1819
+
1820
+ },
1821
+
1822
+ {
1823
+ name: ["-s", "--section"],
1824
+ description: "Target section",
1825
+ args: {
1826
+ name: "NAME",
1827
+ description: "NAME",
1828
+ },
1829
+
1830
+ },
1831
+
1832
+ {
1833
+ name: ["--search"],
1834
+ description: "Filter entries using a search query",
1835
+ args: {
1836
+ name: "QUERY",
1837
+ description: "QUERY",
1838
+ },
1839
+
1840
+ },
1841
+
1842
+ {
1843
+ name: ["-t", "--tag"],
1844
+ description: "Tag all imported entries",
1845
+ args: {
1846
+ name: "TAGS",
1847
+ description: "TAGS",
1848
+ },
1849
+
1850
+ },
1851
+
1852
+ {
1853
+ name: ["--type"],
1854
+ description: "Import type",
1855
+ args: {
1856
+ name: "TYPE",
1857
+ description: "TYPE",
1858
+ },
1859
+
1860
+ },
1861
+
1862
+ {
1863
+ name: ["-x", "--exact"],
1864
+ description: "Force exact search string matching",
1865
+
1866
+ },
1867
+
1868
+ ],
1869
+
1870
+ },
1871
+
1872
+ {
1873
+ name: "last",
1874
+ description: "Show the last entry",
1875
+ options: [
1876
+ {
1877
+ name: ["--bool"],
1878
+ description: "Boolean used to combine multiple tags",
1879
+ args: {
1880
+ name: "BOOLEAN",
1881
+ description: "BOOLEAN",
1882
+ },
1883
+
1884
+ },
1885
+
1886
+ {
1887
+ name: ["--case"],
1888
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
1889
+ args: {
1890
+ name: "TYPE",
1891
+ description: "TYPE",
1892
+ },
1893
+
1894
+ },
1895
+
1896
+ {
1897
+ name: ["--config_template"],
1898
+ description: "Output using a template from configuration",
1899
+ args: {
1900
+ name: "TEMPLATE_KEY",
1901
+ description: "TEMPLATE_KEY",
1902
+ },
1903
+
1904
+ },
1905
+
1906
+ {
1907
+ name: ["-d", "--delete"],
1908
+ description: "Delete the last entry",
1909
+
1910
+ },
1911
+
1912
+ {
1913
+ name: ["--duration"],
1914
+ description: "Show elapsed time if entry is not tagged @done",
1915
+
1916
+ },
1917
+
1918
+ {
1919
+ name: ["-e", "--editor"],
1920
+ description: "Edit entry with vim",
1921
+
1922
+ },
1923
+
1924
+ {
1925
+ name: ["-h", "--hilite"],
1926
+ description: "Highlight search matches in output",
1927
+
1928
+ },
1929
+
1930
+ {
1931
+ name: ["--not"],
1932
+ description: "Show items that *don't* match search/tag filters",
1933
+
1934
+ },
1935
+
1936
+ {
1937
+ name: ["-o", "--output"],
1938
+ description: "Output to export format",
1939
+ args: {
1940
+ name: "FORMAT",
1941
+ description: "FORMAT",
1942
+ },
1943
+
1944
+ },
1945
+
1946
+ {
1947
+ name: ["-s", "--section"],
1948
+ description: "Specify a section",
1949
+ args: {
1950
+ name: "NAME",
1951
+ description: "NAME",
1952
+ },
1953
+
1954
+ },
1955
+
1956
+ {
1957
+ name: ["--save"],
1958
+ description: "Save all current command line options as a new view",
1959
+ args: {
1960
+ name: "VIEW_NAME",
1961
+ description: "VIEW_NAME",
1962
+ },
1963
+
1964
+ },
1965
+
1966
+ {
1967
+ name: ["--search"],
1968
+ description: "Filter entries using a search query",
1969
+ args: {
1970
+ name: "QUERY",
1971
+ description: "QUERY",
1972
+ },
1973
+
1974
+ },
1975
+
1976
+ {
1977
+ name: ["--tag"],
1978
+ description: "Filter entries by tag",
1979
+ args: {
1980
+ name: "TAG",
1981
+ description: "TAG",
1982
+ },
1983
+
1984
+ },
1985
+
1986
+ {
1987
+ name: ["--template"],
1988
+ description: "Override output format with a template string containing %placeholders",
1989
+ args: {
1990
+ name: "TEMPLATE_STRING",
1991
+ description: "TEMPLATE_STRING",
1992
+ },
1993
+
1994
+ },
1995
+
1996
+ {
1997
+ name: ["--title"],
1998
+ description: "Title string to be used for output formats that require it",
1999
+ args: {
2000
+ name: "TITLE",
2001
+ description: "TITLE",
2002
+ },
2003
+
2004
+ },
2005
+
2006
+ {
2007
+ name: ["--val"],
2008
+ description: "Perform a tag value query",
2009
+ args: {
2010
+ name: "QUERY",
2011
+ description: "QUERY",
2012
+ },
2013
+
2014
+ },
2015
+
2016
+ {
2017
+ name: ["-x", "--exact"],
2018
+ description: "Force exact search string matching",
2019
+
2020
+ },
2021
+
2022
+ ],
2023
+
2024
+ },
2025
+
2026
+ {
2027
+ name: "mark",
2028
+ description: "Mark last entry as flagged",
2029
+ options: [
2030
+ {
2031
+ name: ["--bool"],
2032
+ description: "Boolean used to combine multiple tags",
2033
+ args: {
2034
+ name: "BOOLEAN",
2035
+ description: "BOOLEAN",
2036
+ },
2037
+
2038
+ },
2039
+
2040
+ {
2041
+ name: ["-c", "--count"],
2042
+ description: "How many recent entries to tag",
2043
+ args: {
2044
+ name: "COUNT",
2045
+ description: "COUNT",
2046
+ },
2047
+
2048
+ },
2049
+
2050
+ {
2051
+ name: ["--case"],
2052
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
2053
+ args: {
2054
+ name: "TYPE",
2055
+ description: "TYPE",
2056
+ },
2057
+
2058
+ },
2059
+
2060
+ {
2061
+ name: ["-d", "--date"],
2062
+ description: "Include current date/time with tag",
2063
+
2064
+ },
2065
+
2066
+ {
2067
+ name: ["--force"],
2068
+ description: "Don't ask permission to flag all entries when count is 0",
2069
+
2070
+ },
2071
+
2072
+ {
2073
+ name: ["-i", "--interactive"],
2074
+ description: "Select item(s) to flag from a menu of matching entries",
2075
+
2076
+ },
2077
+
2078
+ {
2079
+ name: ["--not"],
2080
+ description: "Flag items that *don't* match search/tag filters",
2081
+
2082
+ },
2083
+
2084
+ {
2085
+ name: ["-r", "--remove"],
2086
+ description: "Remove flag",
2087
+
2088
+ },
2089
+
2090
+ {
2091
+ name: ["-s", "--section"],
2092
+ description: "Section",
2093
+ args: {
2094
+ name: "SECTION_NAME",
2095
+ description: "SECTION_NAME",
2096
+ },
2097
+
2098
+ },
2099
+
2100
+ {
2101
+ name: ["--search"],
2102
+ description: "Filter entries using a search query",
2103
+ args: {
2104
+ name: "QUERY",
2105
+ description: "QUERY",
2106
+ },
2107
+
2108
+ },
2109
+
2110
+ {
2111
+ name: ["--tag"],
2112
+ description: "Filter entries by tag",
2113
+ args: {
2114
+ name: "TAG",
2115
+ description: "TAG",
2116
+ },
2117
+
2118
+ },
2119
+
2120
+ {
2121
+ name: ["-u", "--unfinished"],
2122
+ description: "Flag last entry",
2123
+
2124
+ },
2125
+
2126
+ {
2127
+ name: ["--val"],
2128
+ description: "Perform a tag value query",
2129
+ args: {
2130
+ name: "QUERY",
2131
+ description: "QUERY",
2132
+ },
2133
+
2134
+ },
2135
+
2136
+ {
2137
+ name: ["-x", "--exact"],
2138
+ description: "Force exact search string matching",
2139
+
2140
+ },
2141
+
2142
+ ],
2143
+
2144
+ },
2145
+
2146
+ {
2147
+ name: "flag",
2148
+ description: "Mark last entry as flagged",
2149
+ options: [
2150
+ {
2151
+ name: ["--bool"],
2152
+ description: "Boolean used to combine multiple tags",
2153
+ args: {
2154
+ name: "BOOLEAN",
2155
+ description: "BOOLEAN",
2156
+ },
2157
+
2158
+ },
2159
+
2160
+ {
2161
+ name: ["-c", "--count"],
2162
+ description: "How many recent entries to tag",
2163
+ args: {
2164
+ name: "COUNT",
2165
+ description: "COUNT",
2166
+ },
2167
+
2168
+ },
2169
+
2170
+ {
2171
+ name: ["--case"],
2172
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
2173
+ args: {
2174
+ name: "TYPE",
2175
+ description: "TYPE",
2176
+ },
2177
+
2178
+ },
2179
+
2180
+ {
2181
+ name: ["-d", "--date"],
2182
+ description: "Include current date/time with tag",
2183
+
2184
+ },
2185
+
2186
+ {
2187
+ name: ["--force"],
2188
+ description: "Don't ask permission to flag all entries when count is 0",
2189
+
2190
+ },
2191
+
2192
+ {
2193
+ name: ["-i", "--interactive"],
2194
+ description: "Select item(s) to flag from a menu of matching entries",
2195
+
2196
+ },
2197
+
2198
+ {
2199
+ name: ["--not"],
2200
+ description: "Flag items that *don't* match search/tag filters",
2201
+
2202
+ },
2203
+
2204
+ {
2205
+ name: ["-r", "--remove"],
2206
+ description: "Remove flag",
2207
+
2208
+ },
2209
+
2210
+ {
2211
+ name: ["-s", "--section"],
2212
+ description: "Section",
2213
+ args: {
2214
+ name: "SECTION_NAME",
2215
+ description: "SECTION_NAME",
2216
+ },
2217
+
2218
+ },
2219
+
2220
+ {
2221
+ name: ["--search"],
2222
+ description: "Filter entries using a search query",
2223
+ args: {
2224
+ name: "QUERY",
2225
+ description: "QUERY",
2226
+ },
2227
+
2228
+ },
2229
+
2230
+ {
2231
+ name: ["--tag"],
2232
+ description: "Filter entries by tag",
2233
+ args: {
2234
+ name: "TAG",
2235
+ description: "TAG",
2236
+ },
2237
+
2238
+ },
2239
+
2240
+ {
2241
+ name: ["-u", "--unfinished"],
2242
+ description: "Flag last entry",
2243
+
2244
+ },
2245
+
2246
+ {
2247
+ name: ["--val"],
2248
+ description: "Perform a tag value query",
2249
+ args: {
2250
+ name: "QUERY",
2251
+ description: "QUERY",
2252
+ },
2253
+
2254
+ },
2255
+
2256
+ {
2257
+ name: ["-x", "--exact"],
2258
+ description: "Force exact search string matching",
2259
+
2260
+ },
2261
+
2262
+ ],
2263
+
2264
+ },
2265
+
2266
+ {
2267
+ name: "meanwhile",
2268
+ description: "Finish any running @meanwhile tasks and optionally create a new one",
2269
+ options: [
2270
+ {
2271
+ name: ["-X", "--noauto"],
2272
+ description: "Exclude auto tags and default tags",
2273
+
2274
+ },
2275
+
2276
+ {
2277
+ name: ["-a", "--archive"],
2278
+ description: "Archive previous @meanwhile entry",
2279
+
2280
+ },
2281
+
2282
+ {
2283
+ name: ["--ask"],
2284
+ description: "Prompt for note via multi-line input",
2285
+
2286
+ },
2287
+
2288
+ {
2289
+ name: ["--started"],
2290
+ description: "Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]",
2291
+ args: {
2292
+ name: "DATE_STRING",
2293
+ description: "DATE_STRING",
2294
+ },
2295
+
2296
+ },
2297
+
2298
+ {
2299
+ name: ["-e", "--editor"],
2300
+ description: "Edit entry with vim",
2301
+
2302
+ },
2303
+
2304
+ {
2305
+ name: ["-n", "--note"],
2306
+ description: "Include a note",
2307
+ args: {
2308
+ name: "TEXT",
2309
+ description: "TEXT",
2310
+ },
2311
+
2312
+ },
2313
+
2314
+ {
2315
+ name: ["-s", "--section"],
2316
+ description: "Section",
2317
+ args: {
2318
+ name: "NAME",
2319
+ description: "NAME",
2320
+ },
2321
+
2322
+ },
2323
+
2324
+ ],
2325
+
2326
+ },
2327
+
2328
+ {
2329
+ name: "note",
2330
+ description: "Add a note to the last entry",
2331
+ options: [
2332
+ {
2333
+ name: ["--ask"],
2334
+ description: "Prompt for note via multi-line input",
2335
+
2336
+ },
2337
+
2338
+ {
2339
+ name: ["--bool"],
2340
+ description: "Boolean used to combine multiple tags",
2341
+ args: {
2342
+ name: "BOOLEAN",
2343
+ description: "BOOLEAN",
2344
+ },
2345
+
2346
+ },
2347
+
2348
+ {
2349
+ name: ["--case"],
2350
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
2351
+ args: {
2352
+ name: "TYPE",
2353
+ description: "TYPE",
2354
+ },
2355
+
2356
+ },
2357
+
2358
+ {
2359
+ name: ["-e", "--editor"],
2360
+ description: "Edit entry with vim",
2361
+
2362
+ },
2363
+
2364
+ {
2365
+ name: ["-i", "--interactive"],
2366
+ description: "Select item for new note from a menu of matching entries",
2367
+
2368
+ },
2369
+
2370
+ {
2371
+ name: ["--not"],
2372
+ description: "Note items that *don't* match search/tag filters",
2373
+
2374
+ },
2375
+
2376
+ {
2377
+ name: ["-r", "--remove"],
2378
+ description: "Replace/Remove last entry's note",
2379
+
2380
+ },
2381
+
2382
+ {
2383
+ name: ["-s", "--section"],
2384
+ description: "Section",
2385
+ args: {
2386
+ name: "NAME",
2387
+ description: "NAME",
2388
+ },
2389
+
2390
+ },
2391
+
2392
+ {
2393
+ name: ["--search"],
2394
+ description: "Filter entries using a search query",
2395
+ args: {
2396
+ name: "QUERY",
2397
+ description: "QUERY",
2398
+ },
2399
+
2400
+ },
2401
+
2402
+ {
2403
+ name: ["--tag"],
2404
+ description: "Filter entries by tag",
2405
+ args: {
2406
+ name: "TAG",
2407
+ description: "TAG",
2408
+ },
2409
+
2410
+ },
2411
+
2412
+ {
2413
+ name: ["--val"],
2414
+ description: "Perform a tag value query",
2415
+ args: {
2416
+ name: "QUERY",
2417
+ description: "QUERY",
2418
+ },
2419
+
2420
+ },
2421
+
2422
+ {
2423
+ name: ["-x", "--exact"],
2424
+ description: "Force exact search string matching",
2425
+
2426
+ },
2427
+
2428
+ ],
2429
+
2430
+ },
2431
+
2432
+ {
2433
+ name: "now",
2434
+ description: "Add an entry",
2435
+ options: [
2436
+ {
2437
+ name: ["-X", "--noauto"],
2438
+ description: "Exclude auto tags and default tags",
2439
+
2440
+ },
2441
+
2442
+ {
2443
+ name: ["--ask"],
2444
+ description: "Prompt for note via multi-line input",
2445
+
2446
+ },
2447
+
2448
+ {
2449
+ name: ["--started"],
2450
+ description: "Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]",
2451
+ args: {
2452
+ name: "DATE_STRING",
2453
+ description: "DATE_STRING",
2454
+ },
2455
+
2456
+ },
2457
+
2458
+ {
2459
+ name: ["-e", "--editor"],
2460
+ description: "Edit entry with vim",
2461
+
2462
+ },
2463
+
2464
+ {
2465
+ name: ["-f", "--finish_last"],
2466
+ description: "Timed entry",
2467
+
2468
+ },
2469
+
2470
+ {
2471
+ name: ["--from"],
2472
+ description: "Set a start and optionally end time as a date range",
2473
+ args: {
2474
+ name: "TIME_RANGE",
2475
+ description: "TIME_RANGE",
2476
+ },
2477
+
2478
+ },
2479
+
2480
+ {
2481
+ name: ["-n", "--note"],
2482
+ description: "Include a note",
2483
+ args: {
2484
+ name: "TEXT",
2485
+ description: "TEXT",
2486
+ },
2487
+
2488
+ },
2489
+
2490
+ {
2491
+ name: ["-s", "--section"],
2492
+ description: "Section",
2493
+ args: {
2494
+ name: "NAME",
2495
+ description: "NAME",
2496
+ },
2497
+
2498
+ },
2499
+
2500
+ ],
2501
+
2502
+ },
2503
+
2504
+ {
2505
+ name: "next",
2506
+ description: "Add an entry",
2507
+ options: [
2508
+ {
2509
+ name: ["-X", "--noauto"],
2510
+ description: "Exclude auto tags and default tags",
2511
+
2512
+ },
2513
+
2514
+ {
2515
+ name: ["--ask"],
2516
+ description: "Prompt for note via multi-line input",
2517
+
2518
+ },
2519
+
2520
+ {
2521
+ name: ["--started"],
2522
+ description: "Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]",
2523
+ args: {
2524
+ name: "DATE_STRING",
2525
+ description: "DATE_STRING",
2526
+ },
2527
+
2528
+ },
2529
+
2530
+ {
2531
+ name: ["-e", "--editor"],
2532
+ description: "Edit entry with vim",
2533
+
2534
+ },
2535
+
2536
+ {
2537
+ name: ["-f", "--finish_last"],
2538
+ description: "Timed entry",
2539
+
2540
+ },
2541
+
2542
+ {
2543
+ name: ["--from"],
2544
+ description: "Set a start and optionally end time as a date range",
2545
+ args: {
2546
+ name: "TIME_RANGE",
2547
+ description: "TIME_RANGE",
2548
+ },
2549
+
2550
+ },
2551
+
2552
+ {
2553
+ name: ["-n", "--note"],
2554
+ description: "Include a note",
2555
+ args: {
2556
+ name: "TEXT",
2557
+ description: "TEXT",
2558
+ },
2559
+
2560
+ },
2561
+
2562
+ {
2563
+ name: ["-s", "--section"],
2564
+ description: "Section",
2565
+ args: {
2566
+ name: "NAME",
2567
+ description: "NAME",
2568
+ },
2569
+
2570
+ },
2571
+
2572
+ ],
2573
+
2574
+ },
2575
+
2576
+ {
2577
+ name: "on",
2578
+ description: "List entries for a date",
2579
+ options: [
2580
+ {
2581
+ name: ["--after"],
2582
+ description: "View entries after specified time",
2583
+ args: {
2584
+ name: "TIME_STRING",
2585
+ description: "TIME_STRING",
2586
+ },
2587
+
2588
+ },
2589
+
2590
+ {
2591
+ name: ["--before"],
2592
+ description: "View entries before specified time",
2593
+ args: {
2594
+ name: "TIME_STRING",
2595
+ description: "TIME_STRING",
2596
+ },
2597
+
2598
+ },
2599
+
2600
+ {
2601
+ name: ["--bool"],
2602
+ description: "Boolean used to combine multiple tags",
2603
+ args: {
2604
+ name: "BOOLEAN",
2605
+ description: "BOOLEAN",
2606
+ },
2607
+
2608
+ },
2609
+
2610
+ {
2611
+ name: ["--case"],
2612
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
2613
+ args: {
2614
+ name: "TYPE",
2615
+ description: "TYPE",
2616
+ },
2617
+
2618
+ },
2619
+
2620
+ {
2621
+ name: ["--config_template"],
2622
+ description: "Output using a template from configuration",
2623
+ args: {
2624
+ name: "TEMPLATE_KEY",
2625
+ description: "TEMPLATE_KEY",
2626
+ },
2627
+
2628
+ },
2629
+
2630
+ {
2631
+ name: ["--duration"],
2632
+ description: "Show elapsed time on entries without @done tag",
2633
+
2634
+ },
2635
+
2636
+ {
2637
+ name: ["--from"],
2638
+ description: "Time range to show `doing on --from \"12pm to 4pm\"`",
2639
+ args: {
2640
+ name: "TIME_RANGE",
2641
+ description: "TIME_RANGE",
2642
+ },
2643
+
2644
+ },
2645
+
2646
+ {
2647
+ name: ["--not"],
2648
+ description: "Show items that *don't* match search/tag filters",
2649
+
2650
+ },
2651
+
2652
+ {
2653
+ name: ["-o", "--output"],
2654
+ description: "Output to export format",
2655
+ args: {
2656
+ name: "FORMAT",
2657
+ description: "FORMAT",
2658
+ },
2659
+
2660
+ },
2661
+
2662
+ {
2663
+ name: ["--only_timed"],
2664
+ description: "Only show items with recorded time intervals",
2665
+
2666
+ },
2667
+
2668
+ {
2669
+ name: ["-s", "--section"],
2670
+ description: "Section",
2671
+ args: {
2672
+ name: "NAME",
2673
+ description: "NAME",
2674
+ },
2675
+
2676
+ },
2677
+
2678
+ {
2679
+ name: ["--save"],
2680
+ description: "Save all current command line options as a new view",
2681
+ args: {
2682
+ name: "VIEW_NAME",
2683
+ description: "VIEW_NAME",
2684
+ },
2685
+
2686
+ },
2687
+
2688
+ {
2689
+ name: ["--search"],
2690
+ description: "Filter entries using a search query",
2691
+ args: {
2692
+ name: "QUERY",
2693
+ description: "QUERY",
2694
+ },
2695
+
2696
+ },
2697
+
2698
+ {
2699
+ name: ["-t", "--times"],
2700
+ description: "Show time intervals on @done tasks",
2701
+
2702
+ },
2703
+
2704
+ {
2705
+ name: ["--tag"],
2706
+ description: "Filter entries by tag",
2707
+ args: {
2708
+ name: "TAG",
2709
+ description: "TAG",
2710
+ },
2711
+
2712
+ },
2713
+
2714
+ {
2715
+ name: ["--tag_order"],
2716
+ description: "Tag sort direction",
2717
+ args: {
2718
+ name: "DIRECTION",
2719
+ description: "DIRECTION",
2720
+ },
2721
+
2722
+ },
2723
+
2724
+ {
2725
+ name: ["--tag_sort"],
2726
+ description: "Sort tags by",
2727
+ args: {
2728
+ name: "KEY",
2729
+ description: "KEY",
2730
+ },
2731
+
2732
+ },
2733
+
2734
+ {
2735
+ name: ["--template"],
2736
+ description: "Override output format with a template string containing %placeholders",
2737
+ args: {
2738
+ name: "TEMPLATE_STRING",
2739
+ description: "TEMPLATE_STRING",
2740
+ },
2741
+
2742
+ },
2743
+
2744
+ {
2745
+ name: ["--title"],
2746
+ description: "Title string to be used for output formats that require it",
2747
+ args: {
2748
+ name: "TITLE",
2749
+ description: "TITLE",
2750
+ },
2751
+
2752
+ },
2753
+
2754
+ {
2755
+ name: ["--totals"],
2756
+ description: "Show time totals at the end of output",
2757
+
2758
+ },
2759
+
2760
+ {
2761
+ name: ["--val"],
2762
+ description: "Perform a tag value query",
2763
+ args: {
2764
+ name: "QUERY",
2765
+ description: "QUERY",
2766
+ },
2767
+
2768
+ },
2769
+
2770
+ {
2771
+ name: ["-x", "--exact"],
2772
+ description: "Force exact search string matching",
2773
+
2774
+ },
2775
+
2776
+ ],
2777
+
2778
+ },
2779
+
2780
+ {
2781
+ name: "open",
2782
+ description: "Open the \"doing\" file in an editor",
2783
+ options: [
2784
+ {
2785
+ name: ["-a", "--app"],
2786
+ description: "Open with app name",
2787
+ args: {
2788
+ name: "APP_NAME",
2789
+ description: "APP_NAME",
2790
+ },
2791
+
2792
+ },
2793
+
2794
+ {
2795
+ name: ["-b", "--bundle_id"],
2796
+ description: "Open with app bundle id",
2797
+ args: {
2798
+ name: "BUNDLE_ID",
2799
+ description: "BUNDLE_ID",
2800
+ },
2801
+
2802
+ },
2803
+
2804
+ {
2805
+ name: ["-e", "--editor"],
2806
+ description: "Open with editor command",
2807
+ args: {
2808
+ name: "COMMAND",
2809
+ description: "COMMAND",
2810
+ },
2811
+
2812
+ },
2813
+
2814
+ ],
2815
+
2816
+ },
2817
+
2818
+ {
2819
+ name: "plugins",
2820
+ description: "List installed plugins",
2821
+ options: [
2822
+ {
2823
+ name: ["-c", "--column"],
2824
+ description: "List in single column for completion",
2825
+
2826
+ },
2827
+
2828
+ {
2829
+ name: ["-t", "--type"],
2830
+ description: "List plugins of type",
2831
+ args: {
2832
+ name: "TYPE",
2833
+ description: "TYPE",
2834
+ },
2835
+
2836
+ },
2837
+
2838
+ ],
2839
+
2840
+ },
2841
+
2842
+ {
2843
+ name: "recent",
2844
+ description: "List recent entries",
2845
+ options: [
2846
+ {
2847
+ name: ["--config_template"],
2848
+ description: "Output using a template from configuration",
2849
+ args: {
2850
+ name: "TEMPLATE_KEY",
2851
+ description: "TEMPLATE_KEY",
2852
+ },
2853
+
2854
+ },
2855
+
2856
+ {
2857
+ name: ["--duration"],
2858
+ description: "Show elapsed time on entries without @done tag",
2859
+
2860
+ },
2861
+
2862
+ {
2863
+ name: ["-i", "--interactive"],
2864
+ description: "Select from a menu of matching entries to perform additional operations",
2865
+
2866
+ },
2867
+
2868
+ {
2869
+ name: ["-o", "--output"],
2870
+ description: "Output to export format",
2871
+ args: {
2872
+ name: "FORMAT",
2873
+ description: "FORMAT",
2874
+ },
2875
+
2876
+ },
2877
+
2878
+ {
2879
+ name: ["--only_timed"],
2880
+ description: "Only show items with recorded time intervals",
2881
+
2882
+ },
2883
+
2884
+ {
2885
+ name: ["-s", "--section"],
2886
+ description: "Section",
2887
+ args: {
2888
+ name: "NAME",
2889
+ description: "NAME",
2890
+ },
2891
+
2892
+ },
2893
+
2894
+ {
2895
+ name: ["--save"],
2896
+ description: "Save all current command line options as a new view",
2897
+ args: {
2898
+ name: "VIEW_NAME",
2899
+ description: "VIEW_NAME",
2900
+ },
2901
+
2902
+ },
2903
+
2904
+ {
2905
+ name: ["-t", "--times"],
2906
+ description: "Show time intervals on @done tasks",
2907
+
2908
+ },
2909
+
2910
+ {
2911
+ name: ["--tag_order"],
2912
+ description: "Tag sort direction",
2913
+ args: {
2914
+ name: "DIRECTION",
2915
+ description: "DIRECTION",
2916
+ },
2917
+
2918
+ },
2919
+
2920
+ {
2921
+ name: ["--tag_sort"],
2922
+ description: "Sort tags by",
2923
+ args: {
2924
+ name: "KEY",
2925
+ description: "KEY",
2926
+ },
2927
+
2928
+ },
2929
+
2930
+ {
2931
+ name: ["--template"],
2932
+ description: "Override output format with a template string containing %placeholders",
2933
+ args: {
2934
+ name: "TEMPLATE_STRING",
2935
+ description: "TEMPLATE_STRING",
2936
+ },
2937
+
2938
+ },
2939
+
2940
+ {
2941
+ name: ["--title"],
2942
+ description: "Title string to be used for output formats that require it",
2943
+ args: {
2944
+ name: "TITLE",
2945
+ description: "TITLE",
2946
+ },
2947
+
2948
+ },
2949
+
2950
+ {
2951
+ name: ["--totals"],
2952
+ description: "Show time totals at the end of output",
2953
+
2954
+ },
2955
+
2956
+ ],
2957
+
2958
+ },
2959
+
2960
+ {
2961
+ name: "redo",
2962
+ description: "Redo an undo command",
2963
+ options: [
2964
+ {
2965
+ name: ["-f", "--file"],
2966
+ description: "Specify alternate doing file",
2967
+ args: {
2968
+ name: "PATH",
2969
+ description: "PATH",
2970
+ },
2971
+
2972
+ },
2973
+
2974
+ {
2975
+ name: ["-i", "--interactive"],
2976
+ description: "Select from an interactive menu",
2977
+
2978
+ },
2979
+
2980
+ ],
2981
+
2982
+ },
2983
+
2984
+ {
2985
+ name: "reset",
2986
+ description: "Reset the start time of an entry",
2987
+ options: [
2988
+ {
2989
+ name: ["--bool"],
2990
+ description: "Boolean used to combine multiple tags",
2991
+ args: {
2992
+ name: "BOOLEAN",
2993
+ description: "BOOLEAN",
2994
+ },
2995
+
2996
+ },
2997
+
2998
+ {
2999
+ name: ["--case"],
3000
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
3001
+ args: {
3002
+ name: "TYPE",
3003
+ description: "TYPE",
3004
+ },
3005
+
3006
+ },
3007
+
3008
+ {
3009
+ name: ["--from"],
3010
+ description: "Start and end times as a date/time range `doing done --from \"1am to 8am\"`",
3011
+ args: {
3012
+ name: "TIME_RANGE",
3013
+ description: "TIME_RANGE",
3014
+ },
3015
+
3016
+ },
3017
+
3018
+ {
3019
+ name: ["-i", "--interactive"],
3020
+ description: "Select from a menu of matching entries",
3021
+
3022
+ },
3023
+
3024
+ {
3025
+ name: ["--not"],
3026
+ description: "Reset items that *don't* match search/tag filters",
3027
+
3028
+ },
3029
+
3030
+ {
3031
+ name: ["-r", "--resume"],
3032
+ description: "Resume entry",
3033
+
3034
+ },
3035
+
3036
+ {
3037
+ name: ["-s", "--section"],
3038
+ description: "Limit search to section",
3039
+ args: {
3040
+ name: "NAME",
3041
+ description: "NAME",
3042
+ },
3043
+
3044
+ },
3045
+
3046
+ {
3047
+ name: ["--search"],
3048
+ description: "Filter entries using a search query",
3049
+ args: {
3050
+ name: "QUERY",
3051
+ description: "QUERY",
3052
+ },
3053
+
3054
+ },
3055
+
3056
+ {
3057
+ name: ["--for"],
3058
+ description: "Set completion date to start date plus interval",
3059
+ args: {
3060
+ name: "INTERVAL",
3061
+ description: "INTERVAL",
3062
+ },
3063
+
3064
+ },
3065
+
3066
+ {
3067
+ name: ["--tag"],
3068
+ description: "Filter entries by tag",
3069
+ args: {
3070
+ name: "TAG",
3071
+ description: "TAG",
3072
+ },
3073
+
3074
+ },
3075
+
3076
+ {
3077
+ name: ["--val"],
3078
+ description: "Perform a tag value query",
3079
+ args: {
3080
+ name: "QUERY",
3081
+ description: "QUERY",
3082
+ },
3083
+
3084
+ },
3085
+
3086
+ {
3087
+ name: ["-x", "--exact"],
3088
+ description: "Force exact search string matching",
3089
+
3090
+ },
3091
+
3092
+ ],
3093
+
3094
+ },
3095
+
3096
+ {
3097
+ name: "begin",
3098
+ description: "Reset the start time of an entry",
3099
+ options: [
3100
+ {
3101
+ name: ["--bool"],
3102
+ description: "Boolean used to combine multiple tags",
3103
+ args: {
3104
+ name: "BOOLEAN",
3105
+ description: "BOOLEAN",
3106
+ },
3107
+
3108
+ },
3109
+
3110
+ {
3111
+ name: ["--case"],
3112
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
3113
+ args: {
3114
+ name: "TYPE",
3115
+ description: "TYPE",
3116
+ },
3117
+
3118
+ },
3119
+
3120
+ {
3121
+ name: ["--from"],
3122
+ description: "Start and end times as a date/time range `doing done --from \"1am to 8am\"`",
3123
+ args: {
3124
+ name: "TIME_RANGE",
3125
+ description: "TIME_RANGE",
3126
+ },
3127
+
3128
+ },
3129
+
3130
+ {
3131
+ name: ["-i", "--interactive"],
3132
+ description: "Select from a menu of matching entries",
3133
+
3134
+ },
3135
+
3136
+ {
3137
+ name: ["--not"],
3138
+ description: "Reset items that *don't* match search/tag filters",
3139
+
3140
+ },
3141
+
3142
+ {
3143
+ name: ["-r", "--resume"],
3144
+ description: "Resume entry",
3145
+
3146
+ },
3147
+
3148
+ {
3149
+ name: ["-s", "--section"],
3150
+ description: "Limit search to section",
3151
+ args: {
3152
+ name: "NAME",
3153
+ description: "NAME",
3154
+ },
3155
+
3156
+ },
3157
+
3158
+ {
3159
+ name: ["--search"],
3160
+ description: "Filter entries using a search query",
3161
+ args: {
3162
+ name: "QUERY",
3163
+ description: "QUERY",
3164
+ },
3165
+
3166
+ },
3167
+
3168
+ {
3169
+ name: ["--for"],
3170
+ description: "Set completion date to start date plus interval",
3171
+ args: {
3172
+ name: "INTERVAL",
3173
+ description: "INTERVAL",
3174
+ },
3175
+
3176
+ },
3177
+
3178
+ {
3179
+ name: ["--tag"],
3180
+ description: "Filter entries by tag",
3181
+ args: {
3182
+ name: "TAG",
3183
+ description: "TAG",
3184
+ },
3185
+
3186
+ },
3187
+
3188
+ {
3189
+ name: ["--val"],
3190
+ description: "Perform a tag value query",
3191
+ args: {
3192
+ name: "QUERY",
3193
+ description: "QUERY",
3194
+ },
3195
+
3196
+ },
3197
+
3198
+ {
3199
+ name: ["-x", "--exact"],
3200
+ description: "Force exact search string matching",
3201
+
3202
+ },
3203
+
3204
+ ],
3205
+
3206
+ },
3207
+
3208
+ {
3209
+ name: "rotate",
3210
+ description: "Move entries to archive file",
3211
+ options: [
3212
+ {
3213
+ name: ["--before"],
3214
+ description: "Rotate entries older than date",
3215
+ args: {
3216
+ name: "DATE_STRING",
3217
+ description: "DATE_STRING",
3218
+ },
3219
+
3220
+ },
3221
+
3222
+ {
3223
+ name: ["--bool"],
3224
+ description: "Boolean used to combine multiple tags",
3225
+ args: {
3226
+ name: "BOOLEAN",
3227
+ description: "BOOLEAN",
3228
+ },
3229
+
3230
+ },
3231
+
3232
+ {
3233
+ name: ["--case"],
3234
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
3235
+ args: {
3236
+ name: "TYPE",
3237
+ description: "TYPE",
3238
+ },
3239
+
3240
+ },
3241
+
3242
+ {
3243
+ name: ["-k", "--keep"],
3244
+ description: "How many items to keep in each section",
3245
+ args: {
3246
+ name: "X",
3247
+ description: "X",
3248
+ },
3249
+
3250
+ },
3251
+
3252
+ {
3253
+ name: ["--not"],
3254
+ description: "Rotate items that *don't* match search/tag filters",
3255
+
3256
+ },
3257
+
3258
+ {
3259
+ name: ["-s", "--section"],
3260
+ description: "Section to rotate",
3261
+ args: {
3262
+ name: "SECTION_NAME",
3263
+ description: "SECTION_NAME",
3264
+ },
3265
+
3266
+ },
3267
+
3268
+ {
3269
+ name: ["--search"],
3270
+ description: "Filter entries using a search query",
3271
+ args: {
3272
+ name: "QUERY",
3273
+ description: "QUERY",
3274
+ },
3275
+
3276
+ },
3277
+
3278
+ {
3279
+ name: ["--tag"],
3280
+ description: "Filter entries by tag",
3281
+ args: {
3282
+ name: "TAG",
3283
+ description: "TAG",
3284
+ },
3285
+
3286
+ },
3287
+
3288
+ {
3289
+ name: ["--val"],
3290
+ description: "Perform a tag value query",
3291
+ args: {
3292
+ name: "QUERY",
3293
+ description: "QUERY",
3294
+ },
3295
+
3296
+ },
3297
+
3298
+ {
3299
+ name: ["-x", "--exact"],
3300
+ description: "Force exact search string matching",
3301
+
3302
+ },
3303
+
3304
+ ],
3305
+
3306
+ },
3307
+
3308
+ {
3309
+ name: "sections",
3310
+ description: "List",
3311
+
3312
+ },
3313
+
3314
+ {
3315
+ name: "select",
3316
+ description: "Display an interactive menu to perform operations",
3317
+ options: [
3318
+ {
3319
+ name: ["-a", "--archive"],
3320
+ description: "Archive selected items",
3321
+
3322
+ },
3323
+
3324
+ {
3325
+ name: ["--after"],
3326
+ description: "Select entries newer than date",
3327
+ args: {
3328
+ name: "DATE_STRING",
3329
+ description: "DATE_STRING",
3330
+ },
3331
+
3332
+ },
3333
+
3334
+ {
3335
+ name: ["--resume"],
3336
+ description: "Copy selection as a new entry with current time and no @done tag",
3337
+
3338
+ },
3339
+
3340
+ {
3341
+ name: ["--before"],
3342
+ description: "Select entries older than date",
3343
+ args: {
3344
+ name: "DATE_STRING",
3345
+ description: "DATE_STRING",
3346
+ },
3347
+
3348
+ },
3349
+
3350
+ {
3351
+ name: ["-c", "--cancel"],
3352
+ description: "Cancel selected items",
3353
+
3354
+ },
3355
+
3356
+ {
3357
+ name: ["--case"],
3358
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
3359
+ args: {
3360
+ name: "TYPE",
3361
+ description: "TYPE",
3362
+ },
3363
+
3364
+ },
3365
+
3366
+ {
3367
+ name: ["-d", "--delete"],
3368
+ description: "Delete selected items",
3369
+
3370
+ },
3371
+
3372
+ {
3373
+ name: ["-e", "--editor"],
3374
+ description: "Edit selected item(s)",
3375
+
3376
+ },
3377
+
3378
+ {
3379
+ name: ["-f", "--finish"],
3380
+ description: "Add @done with current time to selected item(s)",
3381
+
3382
+ },
3383
+
3384
+ {
3385
+ name: ["--flag"],
3386
+ description: "Add flag to selected item(s)",
3387
+
3388
+ },
3389
+
3390
+ {
3391
+ name: ["--force"],
3392
+ description: "Perform action without confirmation",
3393
+
3394
+ },
3395
+
3396
+ {
3397
+ name: ["--from"],
3398
+ description: "Date range",
3399
+ args: {
3400
+ name: "DATE_OR_RANGE",
3401
+ description: "DATE_OR_RANGE",
3402
+ },
3403
+
3404
+ },
3405
+
3406
+ {
3407
+ name: ["-m", "--move"],
3408
+ description: "Move selected items to section",
3409
+ args: {
3410
+ name: "SECTION",
3411
+ description: "SECTION",
3412
+ },
3413
+
3414
+ },
3415
+
3416
+ {
3417
+ name: ["--menu"],
3418
+ description: "Use --no-menu to skip the interactive menu",
3419
+
3420
+ },
3421
+
3422
+ {
3423
+ name: ["--not"],
3424
+ description: "Select items that *don't* match search/tag filters",
3425
+
3426
+ },
3427
+
3428
+ {
3429
+ name: ["-o", "--output"],
3430
+ description: "Output entries to format",
3431
+ args: {
3432
+ name: "FORMAT",
3433
+ description: "FORMAT",
3434
+ },
3435
+
3436
+ },
3437
+
3438
+ {
3439
+ name: ["-q", "--query"],
3440
+ description: "Initial search query for filtering",
3441
+ args: {
3442
+ name: "QUERY",
3443
+ description: "QUERY",
3444
+ },
3445
+
3446
+ },
3447
+
3448
+ {
3449
+ name: ["-r", "--remove"],
3450
+ description: "Reverse -c",
3451
+
3452
+ },
3453
+
3454
+ {
3455
+ name: ["-s", "--section"],
3456
+ description: "Select from a specific section",
3457
+ args: {
3458
+ name: "SECTION",
3459
+ description: "SECTION",
3460
+ },
3461
+
3462
+ },
3463
+
3464
+ {
3465
+ name: ["--save_to"],
3466
+ description: "Save selected entries to file using --output format",
3467
+ args: {
3468
+ name: "FILE",
3469
+ description: "FILE",
3470
+ },
3471
+
3472
+ },
3473
+
3474
+ {
3475
+ name: ["--search"],
3476
+ description: "Filter entries using a search query",
3477
+ args: {
3478
+ name: "QUERY",
3479
+ description: "QUERY",
3480
+ },
3481
+
3482
+ },
3483
+
3484
+ {
3485
+ name: ["-t", "--tag"],
3486
+ description: "Tag selected entries",
3487
+ args: {
3488
+ name: "TAG",
3489
+ description: "TAG",
3490
+ },
3491
+
3492
+ },
3493
+
3494
+ {
3495
+ name: ["--val"],
3496
+ description: "Perform a tag value query",
3497
+ args: {
3498
+ name: "QUERY",
3499
+ description: "QUERY",
3500
+ },
3501
+
3502
+ },
3503
+
3504
+ {
3505
+ name: ["-x", "--exact"],
3506
+ description: "Force exact search string matching",
3507
+
3508
+ },
3509
+
3510
+ ],
3511
+
3512
+ },
3513
+
3514
+ {
3515
+ name: "show",
3516
+ description: "List all entries",
3517
+ options: [
3518
+ {
3519
+ name: ["-a", "--age"],
3520
+ description: "Age",
3521
+ args: {
3522
+ name: "AGE",
3523
+ description: "AGE",
3524
+ },
3525
+
3526
+ },
3527
+
3528
+ {
3529
+ name: ["--after"],
3530
+ description: "Show entries newer than date",
3531
+ args: {
3532
+ name: "DATE_STRING",
3533
+ description: "DATE_STRING",
3534
+ },
3535
+
3536
+ },
3537
+
3538
+ {
3539
+ name: ["--before"],
3540
+ description: "Show entries older than date",
3541
+ args: {
3542
+ name: "DATE_STRING",
3543
+ description: "DATE_STRING",
3544
+ },
3545
+
3546
+ },
3547
+
3548
+ {
3549
+ name: ["--bool"],
3550
+ description: "Boolean used to combine multiple tags",
3551
+ args: {
3552
+ name: "BOOLEAN",
3553
+ description: "BOOLEAN",
3554
+ },
3555
+
3556
+ },
3557
+
3558
+ {
3559
+ name: ["-c", "--count"],
3560
+ description: "Max count to show",
3561
+ args: {
3562
+ name: "MAX",
3563
+ description: "MAX",
3564
+ },
3565
+
3566
+ },
3567
+
3568
+ {
3569
+ name: ["--case"],
3570
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
3571
+ args: {
3572
+ name: "TYPE",
3573
+ description: "TYPE",
3574
+ },
3575
+
3576
+ },
3577
+
3578
+ {
3579
+ name: ["--config_template"],
3580
+ description: "Output using a template from configuration",
3581
+ args: {
3582
+ name: "TEMPLATE_KEY",
3583
+ description: "TEMPLATE_KEY",
3584
+ },
3585
+
3586
+ },
3587
+
3588
+ {
3589
+ name: ["--duration"],
3590
+ description: "Show elapsed time on entries without @done tag",
3591
+
3592
+ },
3593
+
3594
+ {
3595
+ name: ["-e", "--editor"],
3596
+ description: "Edit matching entries with vim",
3597
+
3598
+ },
3599
+
3600
+ {
3601
+ name: ["--from"],
3602
+ description: "Date range",
3603
+ args: {
3604
+ name: "DATE_OR_RANGE",
3605
+ description: "DATE_OR_RANGE",
3606
+ },
3607
+
3608
+ },
3609
+
3610
+ {
3611
+ name: ["-h", "--hilite"],
3612
+ description: "Highlight search matches in output",
3613
+
3614
+ },
3615
+
3616
+ {
3617
+ name: ["-i", "--interactive"],
3618
+ description: "Select from a menu of matching entries to perform additional operations",
3619
+
3620
+ },
3621
+
3622
+ {
3623
+ name: ["-m", "--menu"],
3624
+ description: "Select section or tag to display from a menu",
3625
+
3626
+ },
3627
+
3628
+ {
3629
+ name: ["--not"],
3630
+ description: "Show items that *don't* match search/tag filters",
3631
+
3632
+ },
3633
+
3634
+ {
3635
+ name: ["-o", "--output"],
3636
+ description: "Output to export format",
3637
+ args: {
3638
+ name: "FORMAT",
3639
+ description: "FORMAT",
3640
+ },
3641
+
3642
+ },
3643
+
3644
+ {
3645
+ name: ["--only_timed"],
3646
+ description: "Only show items with recorded time intervals",
3647
+
3648
+ },
3649
+
3650
+ {
3651
+ name: ["-s", "--sort"],
3652
+ description: "Sort order",
3653
+ args: {
3654
+ name: "ORDER",
3655
+ description: "ORDER",
3656
+ },
3657
+
3658
+ },
3659
+
3660
+ {
3661
+ name: ["--save"],
3662
+ description: "Save all current command line options as a new view",
3663
+ args: {
3664
+ name: "VIEW_NAME",
3665
+ description: "VIEW_NAME",
3666
+ },
3667
+
3668
+ },
3669
+
3670
+ {
3671
+ name: ["--search"],
3672
+ description: "Filter entries using a search query",
3673
+ args: {
3674
+ name: "QUERY",
3675
+ description: "QUERY",
3676
+ },
3677
+
3678
+ },
3679
+
3680
+ {
3681
+ name: ["-t", "--times"],
3682
+ description: "Show time intervals on @done tasks",
3683
+
3684
+ },
3685
+
3686
+ {
3687
+ name: ["--tag"],
3688
+ description: "Filter entries by tag",
3689
+ args: {
3690
+ name: "TAG",
3691
+ description: "TAG",
3692
+ },
3693
+
3694
+ },
3695
+
3696
+ {
3697
+ name: ["--tag_order"],
3698
+ description: "Tag sort direction",
3699
+ args: {
3700
+ name: "DIRECTION",
3701
+ description: "DIRECTION",
3702
+ },
3703
+
3704
+ },
3705
+
3706
+ {
3707
+ name: ["--tag_sort"],
3708
+ description: "Sort tags by",
3709
+ args: {
3710
+ name: "KEY",
3711
+ description: "KEY",
3712
+ },
3713
+
3714
+ },
3715
+
3716
+ {
3717
+ name: ["--template"],
3718
+ description: "Override output format with a template string containing %placeholders",
3719
+ args: {
3720
+ name: "TEMPLATE_STRING",
3721
+ description: "TEMPLATE_STRING",
3722
+ },
3723
+
3724
+ },
3725
+
3726
+ {
3727
+ name: ["--title"],
3728
+ description: "Title string to be used for output formats that require it",
3729
+ args: {
3730
+ name: "TITLE",
3731
+ description: "TITLE",
3732
+ },
3733
+
3734
+ },
3735
+
3736
+ {
3737
+ name: ["--totals"],
3738
+ description: "Show time totals at the end of output",
3739
+
3740
+ },
3741
+
3742
+ {
3743
+ name: ["--val"],
3744
+ description: "Perform a tag value query",
3745
+ args: {
3746
+ name: "QUERY",
3747
+ description: "QUERY",
3748
+ },
3749
+
3750
+ },
3751
+
3752
+ {
3753
+ name: ["-x", "--exact"],
3754
+ description: "Force exact search string matching",
3755
+
3756
+ },
3757
+
3758
+ ],
3759
+
3760
+ },
3761
+
3762
+ {
3763
+ name: "since",
3764
+ description: "List entries since a date",
3765
+ options: [
3766
+ {
3767
+ name: ["--bool"],
3768
+ description: "Boolean used to combine multiple tags",
3769
+ args: {
3770
+ name: "BOOLEAN",
3771
+ description: "BOOLEAN",
3772
+ },
3773
+
3774
+ },
3775
+
3776
+ {
3777
+ name: ["--case"],
3778
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
3779
+ args: {
3780
+ name: "TYPE",
3781
+ description: "TYPE",
3782
+ },
3783
+
3784
+ },
3785
+
3786
+ {
3787
+ name: ["--config_template"],
3788
+ description: "Output using a template from configuration",
3789
+ args: {
3790
+ name: "TEMPLATE_KEY",
3791
+ description: "TEMPLATE_KEY",
3792
+ },
3793
+
3794
+ },
3795
+
3796
+ {
3797
+ name: ["--duration"],
3798
+ description: "Show elapsed time on entries without @done tag",
3799
+
3800
+ },
3801
+
3802
+ {
3803
+ name: ["--not"],
3804
+ description: "Since items that *don't* match search/tag filters",
3805
+
3806
+ },
3807
+
3808
+ {
3809
+ name: ["-o", "--output"],
3810
+ description: "Output to export format",
3811
+ args: {
3812
+ name: "FORMAT",
3813
+ description: "FORMAT",
3814
+ },
3815
+
3816
+ },
3817
+
3818
+ {
3819
+ name: ["--only_timed"],
3820
+ description: "Only show items with recorded time intervals",
3821
+
3822
+ },
3823
+
3824
+ {
3825
+ name: ["-s", "--section"],
3826
+ description: "Section",
3827
+ args: {
3828
+ name: "NAME",
3829
+ description: "NAME",
3830
+ },
3831
+
3832
+ },
3833
+
3834
+ {
3835
+ name: ["--save"],
3836
+ description: "Save all current command line options as a new view",
3837
+ args: {
3838
+ name: "VIEW_NAME",
3839
+ description: "VIEW_NAME",
3840
+ },
3841
+
3842
+ },
3843
+
3844
+ {
3845
+ name: ["--search"],
3846
+ description: "Filter entries using a search query",
3847
+ args: {
3848
+ name: "QUERY",
3849
+ description: "QUERY",
3850
+ },
3851
+
3852
+ },
3853
+
3854
+ {
3855
+ name: ["-t", "--times"],
3856
+ description: "Show time intervals on @done tasks",
3857
+
3858
+ },
3859
+
3860
+ {
3861
+ name: ["--tag"],
3862
+ description: "Filter entries by tag",
3863
+ args: {
3864
+ name: "TAG",
3865
+ description: "TAG",
3866
+ },
3867
+
3868
+ },
3869
+
3870
+ {
3871
+ name: ["--tag_order"],
3872
+ description: "Tag sort direction",
3873
+ args: {
3874
+ name: "DIRECTION",
3875
+ description: "DIRECTION",
3876
+ },
3877
+
3878
+ },
3879
+
3880
+ {
3881
+ name: ["--tag_sort"],
3882
+ description: "Sort tags by",
3883
+ args: {
3884
+ name: "KEY",
3885
+ description: "KEY",
3886
+ },
3887
+
3888
+ },
3889
+
3890
+ {
3891
+ name: ["--template"],
3892
+ description: "Override output format with a template string containing %placeholders",
3893
+ args: {
3894
+ name: "TEMPLATE_STRING",
3895
+ description: "TEMPLATE_STRING",
3896
+ },
3897
+
3898
+ },
3899
+
3900
+ {
3901
+ name: ["--title"],
3902
+ description: "Title string to be used for output formats that require it",
3903
+ args: {
3904
+ name: "TITLE",
3905
+ description: "TITLE",
3906
+ },
3907
+
3908
+ },
3909
+
3910
+ {
3911
+ name: ["--totals"],
3912
+ description: "Show time totals at the end of output",
3913
+
3914
+ },
3915
+
3916
+ {
3917
+ name: ["--val"],
3918
+ description: "Perform a tag value query",
3919
+ args: {
3920
+ name: "QUERY",
3921
+ description: "QUERY",
3922
+ },
3923
+
3924
+ },
3925
+
3926
+ {
3927
+ name: ["-x", "--exact"],
3928
+ description: "Force exact search string matching",
3929
+
3930
+ },
3931
+
3932
+ ],
3933
+
3934
+ },
3935
+
3936
+ {
3937
+ name: "tag",
3938
+ description: "Add tag(s) to last entry",
3939
+ options: [
3940
+ {
3941
+ name: ["-a", "--autotag"],
3942
+ description: "Autotag entries based on autotag configuration in ~/",
3943
+
3944
+ },
3945
+
3946
+ {
3947
+ name: ["--bool"],
3948
+ description: "Boolean used to combine multiple tags",
3949
+ args: {
3950
+ name: "BOOLEAN",
3951
+ description: "BOOLEAN",
3952
+ },
3953
+
3954
+ },
3955
+
3956
+ {
3957
+ name: ["-c", "--count"],
3958
+ description: "How many recent entries to tag",
3959
+ args: {
3960
+ name: "COUNT",
3961
+ description: "COUNT",
3962
+ },
3963
+
3964
+ },
3965
+
3966
+ {
3967
+ name: ["--case"],
3968
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
3969
+ args: {
3970
+ name: "TYPE",
3971
+ description: "TYPE",
3972
+ },
3973
+
3974
+ },
3975
+
3976
+ {
3977
+ name: ["-d", "--date"],
3978
+ description: "Include current date/time with tag",
3979
+
3980
+ },
3981
+
3982
+ {
3983
+ name: ["--force"],
3984
+ description: "Don't ask permission to tag all entries when count is 0",
3985
+
3986
+ },
3987
+
3988
+ {
3989
+ name: ["-i", "--interactive"],
3990
+ description: "Select item(s) to tag from a menu of matching entries",
3991
+
3992
+ },
3993
+
3994
+ {
3995
+ name: ["--not"],
3996
+ description: "Tag items that *don't* match search/tag filters",
3997
+
3998
+ },
3999
+
4000
+ {
4001
+ name: ["-r", "--remove"],
4002
+ description: "Remove given tag(s)",
4003
+
4004
+ },
4005
+
4006
+ {
4007
+ name: ["--regex"],
4008
+ description: "Interpret tag string as regular expression",
4009
+
4010
+ },
4011
+
4012
+ {
4013
+ name: ["--rename"],
4014
+ description: "Replace existing tag with tag argument",
4015
+ args: {
4016
+ name: "ORIG_TAG",
4017
+ description: "ORIG_TAG",
4018
+ },
4019
+
4020
+ },
4021
+
4022
+ {
4023
+ name: ["-s", "--section"],
4024
+ description: "Section",
4025
+ args: {
4026
+ name: "SECTION_NAME",
4027
+ description: "SECTION_NAME",
4028
+ },
4029
+
4030
+ },
4031
+
4032
+ {
4033
+ name: ["--search"],
4034
+ description: "Filter entries using a search query",
4035
+ args: {
4036
+ name: "QUERY",
4037
+ description: "QUERY",
4038
+ },
4039
+
4040
+ },
4041
+
4042
+ {
4043
+ name: ["--tag"],
4044
+ description: "Filter entries by tag",
4045
+ args: {
4046
+ name: "TAG",
4047
+ description: "TAG",
4048
+ },
4049
+
4050
+ },
4051
+
4052
+ {
4053
+ name: ["-u", "--unfinished"],
4054
+ description: "Tag last entry",
4055
+
4056
+ },
4057
+
4058
+ {
4059
+ name: ["-v", "--value"],
4060
+ description: "Include a value",
4061
+ args: {
4062
+ name: "VALUE",
4063
+ description: "VALUE",
4064
+ },
4065
+
4066
+ },
4067
+
4068
+ {
4069
+ name: ["--val"],
4070
+ description: "Perform a tag value query",
4071
+ args: {
4072
+ name: "QUERY",
4073
+ description: "QUERY",
4074
+ },
4075
+
4076
+ },
4077
+
4078
+ {
4079
+ name: ["-x", "--exact"],
4080
+ description: "Force exact search string matching",
4081
+
4082
+ },
4083
+
4084
+ ],
4085
+
4086
+ },
4087
+
4088
+ {
4089
+ name: "tag_dir",
4090
+ description: "Set the default tags for the current directory",
4091
+ options: [
4092
+ {
4093
+ name: ["--clear"],
4094
+ description: "Remove all default_tags from the local",
4095
+
4096
+ },
4097
+
4098
+ {
4099
+ name: ["-e", "--editor"],
4100
+ description: "Use default editor to edit tag list",
4101
+
4102
+ },
4103
+
4104
+ {
4105
+ name: ["-r", "--remove"],
4106
+ description: "Delete tag(s) from the current list",
4107
+
4108
+ },
4109
+
4110
+ ],
4111
+
4112
+ },
4113
+
4114
+ {
4115
+ name: "tags",
4116
+ description: "List all tags in the current Doing file",
4117
+ options: [
4118
+ {
4119
+ name: ["--bool"],
4120
+ description: "Boolean used to combine multiple tags",
4121
+ args: {
4122
+ name: "BOOLEAN",
4123
+ description: "BOOLEAN",
4124
+ },
4125
+
4126
+ },
4127
+
4128
+ {
4129
+ name: ["-c", "--counts"],
4130
+ description: "Show count of occurrences",
4131
+
4132
+ },
4133
+
4134
+ {
4135
+ name: ["--case"],
4136
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
4137
+ args: {
4138
+ name: "TYPE",
4139
+ description: "TYPE",
4140
+ },
4141
+
4142
+ },
4143
+
4144
+ {
4145
+ name: ["-i", "--interactive"],
4146
+ description: "Select items to scan from a menu of matching entries",
4147
+
4148
+ },
4149
+
4150
+ {
4151
+ name: ["-l", "--line"],
4152
+ description: "Output in a single line with @ symbols",
4153
+
4154
+ },
4155
+
4156
+ {
4157
+ name: ["--not"],
4158
+ description: "Show items that *don't* match search/tag filters",
4159
+
4160
+ },
4161
+
4162
+ {
4163
+ name: ["-o", "--order"],
4164
+ description: "Sort order",
4165
+ args: {
4166
+ name: "ORDER",
4167
+ description: "ORDER",
4168
+ },
4169
+
4170
+ },
4171
+
4172
+ {
4173
+ name: ["-s", "--section"],
4174
+ description: "Section",
4175
+ args: {
4176
+ name: "SECTION_NAME",
4177
+ description: "SECTION_NAME",
4178
+ },
4179
+
4180
+ },
4181
+
4182
+ {
4183
+ name: ["--search"],
4184
+ description: "Filter entries using a search query",
4185
+ args: {
4186
+ name: "QUERY",
4187
+ description: "QUERY",
4188
+ },
4189
+
4190
+ },
4191
+
4192
+ {
4193
+ name: ["--sort"],
4194
+ description: "Sort by name or count",
4195
+ args: {
4196
+ name: "SORT_ORDER",
4197
+ description: "SORT_ORDER",
4198
+ },
4199
+
4200
+ },
4201
+
4202
+ {
4203
+ name: ["--tag"],
4204
+ description: "Filter entries by tag",
4205
+ args: {
4206
+ name: "TAG",
4207
+ description: "TAG",
4208
+ },
4209
+
4210
+ },
4211
+
4212
+ {
4213
+ name: ["--val"],
4214
+ description: "Perform a tag value query",
4215
+ args: {
4216
+ name: "QUERY",
4217
+ description: "QUERY",
4218
+ },
4219
+
4220
+ },
4221
+
4222
+ {
4223
+ name: ["-x", "--exact"],
4224
+ description: "Force exact search string matching",
4225
+
4226
+ },
4227
+
4228
+ ],
4229
+
4230
+ },
4231
+
4232
+ {
4233
+ name: "template",
4234
+ description: "Output HTML",
4235
+ options: [
4236
+ {
4237
+ name: ["-c", "--column"],
4238
+ description: "List in single column for completion",
4239
+
4240
+ },
4241
+
4242
+ {
4243
+ name: ["-l", "--list"],
4244
+ description: "List all available templates",
4245
+
4246
+ },
4247
+
4248
+ {
4249
+ name: ["-p", "--path"],
4250
+ description: "Save template to alternate location",
4251
+ args: {
4252
+ name: "DIRECTORY",
4253
+ description: "DIRECTORY",
4254
+ },
4255
+
4256
+ },
4257
+
4258
+ {
4259
+ name: ["-s", "--save"],
4260
+ description: "Save template to file instead of STDOUT",
4261
+
4262
+ },
4263
+
4264
+ ],
4265
+
4266
+ },
4267
+
4268
+ {
4269
+ name: "test",
4270
+ description: "Test Stuff",
4271
+
4272
+ },
4273
+
4274
+ {
4275
+ name: "today",
4276
+ description: "List entries from today",
4277
+ options: [
4278
+ {
4279
+ name: ["--after"],
4280
+ description: "View entries after specified time",
4281
+ args: {
4282
+ name: "TIME_STRING",
4283
+ description: "TIME_STRING",
4284
+ },
4285
+
4286
+ },
4287
+
4288
+ {
4289
+ name: ["--before"],
4290
+ description: "View entries before specified time",
4291
+ args: {
4292
+ name: "TIME_STRING",
4293
+ description: "TIME_STRING",
4294
+ },
4295
+
4296
+ },
4297
+
4298
+ {
4299
+ name: ["--config_template"],
4300
+ description: "Output using a template from configuration",
4301
+ args: {
4302
+ name: "TEMPLATE_KEY",
4303
+ description: "TEMPLATE_KEY",
4304
+ },
4305
+
4306
+ },
4307
+
4308
+ {
4309
+ name: ["--duration"],
4310
+ description: "Show elapsed time on entries without @done tag",
4311
+
4312
+ },
4313
+
4314
+ {
4315
+ name: ["--from"],
4316
+ description: "Time range to show `doing today --from \"12pm to 4pm\"`",
4317
+ args: {
4318
+ name: "TIME_RANGE",
4319
+ description: "TIME_RANGE",
4320
+ },
4321
+
4322
+ },
4323
+
4324
+ {
4325
+ name: ["-o", "--output"],
4326
+ description: "Output to export format",
4327
+ args: {
4328
+ name: "FORMAT",
4329
+ description: "FORMAT",
4330
+ },
4331
+
4332
+ },
4333
+
4334
+ {
4335
+ name: ["--only_timed"],
4336
+ description: "Only show items with recorded time intervals",
4337
+
4338
+ },
4339
+
4340
+ {
4341
+ name: ["-s", "--section"],
4342
+ description: "Specify a section",
4343
+ args: {
4344
+ name: "NAME",
4345
+ description: "NAME",
4346
+ },
4347
+
4348
+ },
4349
+
4350
+ {
4351
+ name: ["--save"],
4352
+ description: "Save all current command line options as a new view",
4353
+ args: {
4354
+ name: "VIEW_NAME",
4355
+ description: "VIEW_NAME",
4356
+ },
4357
+
4358
+ },
4359
+
4360
+ {
4361
+ name: ["-t", "--times"],
4362
+ description: "Show time intervals on @done tasks",
4363
+
4364
+ },
4365
+
4366
+ {
4367
+ name: ["--tag_order"],
4368
+ description: "Tag sort direction",
4369
+ args: {
4370
+ name: "DIRECTION",
4371
+ description: "DIRECTION",
4372
+ },
4373
+
4374
+ },
4375
+
4376
+ {
4377
+ name: ["--tag_sort"],
4378
+ description: "Sort tags by",
4379
+ args: {
4380
+ name: "KEY",
4381
+ description: "KEY",
4382
+ },
4383
+
4384
+ },
4385
+
4386
+ {
4387
+ name: ["--template"],
4388
+ description: "Override output format with a template string containing %placeholders",
4389
+ args: {
4390
+ name: "TEMPLATE_STRING",
4391
+ description: "TEMPLATE_STRING",
4392
+ },
4393
+
4394
+ },
4395
+
4396
+ {
4397
+ name: ["--title"],
4398
+ description: "Title string to be used for output formats that require it",
4399
+ args: {
4400
+ name: "TITLE",
4401
+ description: "TITLE",
4402
+ },
4403
+
4404
+ },
4405
+
4406
+ {
4407
+ name: ["--totals"],
4408
+ description: "Show time totals at the end of output",
4409
+
4410
+ },
4411
+
4412
+ ],
4413
+
4414
+ },
4415
+
4416
+ {
4417
+ name: "undo",
4418
+ description: "Undo the last X changes to the Doing file",
4419
+ options: [
4420
+ {
4421
+ name: ["-f", "--file"],
4422
+ description: "Specify alternate doing file",
4423
+ args: {
4424
+ name: "PATH",
4425
+ description: "PATH",
4426
+ },
4427
+
4428
+ },
4429
+
4430
+ {
4431
+ name: ["-i", "--interactive"],
4432
+ description: "Select from recent backups",
4433
+
4434
+ },
4435
+
4436
+ {
4437
+ name: ["-p", "--prune"],
4438
+ description: "Remove old backups",
4439
+ args: {
4440
+ name: "COUNT",
4441
+ description: "COUNT",
4442
+ },
4443
+
4444
+ },
4445
+
4446
+ {
4447
+ name: ["-r", "--redo"],
4448
+ description: "Redo last undo",
4449
+
4450
+ },
4451
+
4452
+ ],
4453
+
4454
+ },
4455
+
4456
+ {
4457
+ name: "view",
4458
+ description: "Display a user-created view",
4459
+ options: [
4460
+ {
4461
+ name: ["--after"],
4462
+ description: "Show entries newer than date",
4463
+ args: {
4464
+ name: "DATE_STRING",
4465
+ description: "DATE_STRING",
4466
+ },
4467
+
4468
+ },
4469
+
4470
+ {
4471
+ name: ["--age"],
4472
+ description: "Age",
4473
+ args: {
4474
+ name: "AGE",
4475
+ description: "AGE",
4476
+ },
4477
+
4478
+ },
4479
+
4480
+ {
4481
+ name: ["--before"],
4482
+ description: "Show entries older than date",
4483
+ args: {
4484
+ name: "DATE_STRING",
4485
+ description: "DATE_STRING",
4486
+ },
4487
+
4488
+ },
4489
+
4490
+ {
4491
+ name: ["--bool"],
4492
+ description: "Boolean used to combine multiple tags",
4493
+ args: {
4494
+ name: "BOOLEAN",
4495
+ description: "BOOLEAN",
4496
+ },
4497
+
4498
+ },
4499
+
4500
+ {
4501
+ name: ["-c", "--count"],
4502
+ description: "Count to display",
4503
+ args: {
4504
+ name: "COUNT",
4505
+ description: "COUNT",
4506
+ },
4507
+
4508
+ },
4509
+
4510
+ {
4511
+ name: ["--case"],
4512
+ description: "Case sensitivity for search string matching [(c)ase-sensitive",
4513
+ args: {
4514
+ name: "TYPE",
4515
+ description: "TYPE",
4516
+ },
4517
+
4518
+ },
4519
+
4520
+ {
4521
+ name: ["--color"],
4522
+ description: "Include colors in output",
4523
+
4524
+ },
4525
+
4526
+ {
4527
+ name: ["--config_template"],
4528
+ description: "Output using a template from configuration",
4529
+ args: {
4530
+ name: "TEMPLATE_KEY",
4531
+ description: "TEMPLATE_KEY",
4532
+ },
4533
+
4534
+ },
4535
+
4536
+ {
4537
+ name: ["--duration"],
4538
+ description: "Show elapsed time on entries without @done tag",
4539
+
4540
+ },
4541
+
4542
+ {
4543
+ name: ["--from"],
4544
+ description: "Date range",
4545
+ args: {
4546
+ name: "DATE_OR_RANGE",
4547
+ description: "DATE_OR_RANGE",
4548
+ },
4549
+
4550
+ },
4551
+
4552
+ {
4553
+ name: ["-h", "--hilite"],
4554
+ description: "Highlight search matches in output",
4555
+
4556
+ },
4557
+
4558
+ {
4559
+ name: ["-i", "--interactive"],
4560
+ description: "Select from a menu of matching entries to perform additional operations",
4561
+
4562
+ },
4563
+
4564
+ {
4565
+ name: ["--not"],
4566
+ description: "Show items that *don't* match search/tag filters",
4567
+
4568
+ },
4569
+
4570
+ {
4571
+ name: ["-o", "--output"],
4572
+ description: "Output to export format",
4573
+ args: {
4574
+ name: "FORMAT",
4575
+ description: "FORMAT",
4576
+ },
4577
+
4578
+ },
4579
+
4580
+ {
4581
+ name: ["--only_timed"],
4582
+ description: "Only show items with recorded time intervals",
4583
+
4584
+ },
4585
+
4586
+ {
4587
+ name: ["-s", "--section"],
4588
+ description: "Section",
4589
+ args: {
4590
+ name: "NAME",
4591
+ description: "NAME",
4592
+ },
4593
+
4594
+ },
4595
+
4596
+ {
4597
+ name: ["--search"],
4598
+ description: "Filter entries using a search query",
4599
+ args: {
4600
+ name: "QUERY",
4601
+ description: "QUERY",
4602
+ },
4603
+
4604
+ },
4605
+
4606
+ {
4607
+ name: ["-t", "--times"],
4608
+ description: "Show time intervals on @done tasks",
4609
+
4610
+ },
4611
+
4612
+ {
4613
+ name: ["--tag"],
4614
+ description: "Filter entries by tag",
4615
+ args: {
4616
+ name: "TAG",
4617
+ description: "TAG",
4618
+ },
4619
+
4620
+ },
4621
+
4622
+ {
4623
+ name: ["--tag_order"],
4624
+ description: "Tag sort direction",
4625
+ args: {
4626
+ name: "DIRECTION",
4627
+ description: "DIRECTION",
4628
+ },
4629
+
4630
+ },
4631
+
4632
+ {
4633
+ name: ["--tag_sort"],
4634
+ description: "Sort tags by",
4635
+ args: {
4636
+ name: "KEY",
4637
+ description: "KEY",
4638
+ },
4639
+
4640
+ },
4641
+
4642
+ {
4643
+ name: ["--template"],
4644
+ description: "Override output format with a template string containing %placeholders",
4645
+ args: {
4646
+ name: "TEMPLATE_STRING",
4647
+ description: "TEMPLATE_STRING",
4648
+ },
4649
+
4650
+ },
4651
+
4652
+ {
4653
+ name: ["--totals"],
4654
+ description: "Show intervals with totals at the end of output",
4655
+
4656
+ },
4657
+
4658
+ {
4659
+ name: ["--val"],
4660
+ description: "Perform a tag value query",
4661
+ args: {
4662
+ name: "QUERY",
4663
+ description: "QUERY",
4664
+ },
4665
+
4666
+ },
4667
+
4668
+ {
4669
+ name: ["-x", "--exact"],
4670
+ description: "Force exact search string matching",
4671
+
4672
+ },
4673
+
4674
+ ],
4675
+
4676
+ },
4677
+
4678
+ {
4679
+ name: "views",
4680
+ description: "List available custom views",
4681
+ options: [
4682
+ {
4683
+ name: ["-c", "--column"],
4684
+ description: "List in single column",
4685
+
4686
+ },
4687
+
4688
+ {
4689
+ name: ["-e", "--editor"],
4690
+ description: "Open YAML for view in editor",
4691
+
4692
+ },
4693
+
4694
+ {
4695
+ name: ["-o", "--output"],
4696
+ description: "Output/edit view in alternative format",
4697
+ args: {
4698
+ name: "FORMAT",
4699
+ description: "FORMAT",
4700
+ },
4701
+
4702
+ },
4703
+
4704
+ {
4705
+ name: ["-r", "--remove"],
4706
+ description: "Delete view config",
4707
+
4708
+ },
4709
+
4710
+ ],
4711
+
4712
+ },
4713
+
4714
+ {
4715
+ name: "wiki",
4716
+ description: "Output a tag wiki",
4717
+ options: [
4718
+ {
4719
+ name: ["--after"],
4720
+ description: "Include entries newer than date",
4721
+ args: {
4722
+ name: "DATE_STRING",
4723
+ description: "DATE_STRING",
4724
+ },
4725
+
4726
+ },
4727
+
4728
+ {
4729
+ name: ["-b", "--bool"],
4730
+ description: "Tag boolean",
4731
+ args: {
4732
+ name: "BOOLEAN",
4733
+ description: "BOOLEAN",
4734
+ },
4735
+
4736
+ },
4737
+
4738
+ {
4739
+ name: ["--before"],
4740
+ description: "Include entries older than date",
4741
+ args: {
4742
+ name: "DATE_STRING",
4743
+ description: "DATE_STRING",
4744
+ },
4745
+
4746
+ },
4747
+
4748
+ {
4749
+ name: ["-f", "--from"],
4750
+ description: "Date range to include",
4751
+ args: {
4752
+ name: "DATE_OR_RANGE",
4753
+ description: "DATE_OR_RANGE",
4754
+ },
4755
+
4756
+ },
4757
+
4758
+ {
4759
+ name: ["--only_timed"],
4760
+ description: "Only show items with recorded time intervals",
4761
+
4762
+ },
4763
+
4764
+ {
4765
+ name: ["-s", "--section"],
4766
+ description: "Section to rotate",
4767
+ args: {
4768
+ name: "SECTION_NAME",
4769
+ description: "SECTION_NAME",
4770
+ },
4771
+
4772
+ },
4773
+
4774
+ {
4775
+ name: ["--search"],
4776
+ description: "Search filter",
4777
+ args: {
4778
+ name: "QUERY",
4779
+ description: "QUERY",
4780
+ },
4781
+
4782
+ },
4783
+
4784
+ {
4785
+ name: ["--tag"],
4786
+ description: "Tag filter",
4787
+ args: {
4788
+ name: "TAG",
4789
+ description: "TAG",
4790
+ },
4791
+
4792
+ },
4793
+
4794
+ ],
4795
+
4796
+ },
4797
+
4798
+ {
4799
+ name: "yesterday",
4800
+ description: "List entries from yesterday",
4801
+ options: [
4802
+ {
4803
+ name: ["--after"],
4804
+ description: "View entries after specified time",
4805
+ args: {
4806
+ name: "TIME_STRING",
4807
+ description: "TIME_STRING",
4808
+ },
4809
+
4810
+ },
4811
+
4812
+ {
4813
+ name: ["--before"],
4814
+ description: "View entries before specified time",
4815
+ args: {
4816
+ name: "TIME_STRING",
4817
+ description: "TIME_STRING",
4818
+ },
4819
+
4820
+ },
4821
+
4822
+ {
4823
+ name: ["--config_template"],
4824
+ description: "Output using a template from configuration",
4825
+ args: {
4826
+ name: "TEMPLATE_KEY",
4827
+ description: "TEMPLATE_KEY",
4828
+ },
4829
+
4830
+ },
4831
+
4832
+ {
4833
+ name: ["--duration"],
4834
+ description: "Show elapsed time on entries without @done tag",
4835
+
4836
+ },
4837
+
4838
+ {
4839
+ name: ["--from"],
4840
+ description: "Time range to show `doing yesterday --from \"12pm to 4pm\"`",
4841
+ args: {
4842
+ name: "TIME_RANGE",
4843
+ description: "TIME_RANGE",
4844
+ },
4845
+
4846
+ },
4847
+
4848
+ {
4849
+ name: ["-o", "--output"],
4850
+ description: "Output to export format",
4851
+ args: {
4852
+ name: "FORMAT",
4853
+ description: "FORMAT",
4854
+ },
4855
+
4856
+ },
4857
+
4858
+ {
4859
+ name: ["--only_timed"],
4860
+ description: "Only show items with recorded time intervals",
4861
+
4862
+ },
4863
+
4864
+ {
4865
+ name: ["-s", "--section"],
4866
+ description: "Specify a section",
4867
+ args: {
4868
+ name: "NAME",
4869
+ description: "NAME",
4870
+ },
4871
+
4872
+ },
4873
+
4874
+ {
4875
+ name: ["--save"],
4876
+ description: "Save all current command line options as a new view",
4877
+ args: {
4878
+ name: "VIEW_NAME",
4879
+ description: "VIEW_NAME",
4880
+ },
4881
+
4882
+ },
4883
+
4884
+ {
4885
+ name: ["-t", "--times"],
4886
+ description: "Show time intervals on @done tasks",
4887
+
4888
+ },
4889
+
4890
+ {
4891
+ name: ["--tag_order"],
4892
+ description: "Tag sort direction",
4893
+ args: {
4894
+ name: "DIRECTION",
4895
+ description: "DIRECTION",
4896
+ },
4897
+
4898
+ },
4899
+
4900
+ {
4901
+ name: ["--tag_sort"],
4902
+ description: "Sort tags by",
4903
+ args: {
4904
+ name: "KEY",
4905
+ description: "KEY",
4906
+ },
4907
+
4908
+ },
4909
+
4910
+ {
4911
+ name: ["--template"],
4912
+ description: "Override output format with a template string containing %placeholders",
4913
+ args: {
4914
+ name: "TEMPLATE_STRING",
4915
+ description: "TEMPLATE_STRING",
4916
+ },
4917
+
4918
+ },
4919
+
4920
+ {
4921
+ name: ["--title"],
4922
+ description: "Title string to be used for output formats that require it",
4923
+ args: {
4924
+ name: "TITLE",
4925
+ description: "TITLE",
4926
+ },
4927
+
4928
+ },
4929
+
4930
+ {
4931
+ name: ["--totals"],
4932
+ description: "Show time totals at the end of output",
4933
+
4934
+ },
4935
+
4936
+ ],
4937
+
4938
+ },
4939
+
4940
+ ],
4941
+ };
4942
+ export default completionSpec;