doing 2.1.28 → 2.1.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +1 -1
  3. data/.yardoc/objects/root.dat +0 -0
  4. data/CHANGELOG.md +8 -0
  5. data/Gemfile.lock +1 -1
  6. data/README.md +1 -1
  7. data/bin/commands/changes.rb +22 -12
  8. data/docs/doc/Array.html +1 -1
  9. data/docs/doc/BooleanTermParser/Clause.html +1 -1
  10. data/docs/doc/BooleanTermParser/Operator.html +1 -1
  11. data/docs/doc/BooleanTermParser/Query.html +1 -1
  12. data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
  13. data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
  14. data/docs/doc/BooleanTermParser.html +1 -1
  15. data/docs/doc/Doing/Color.html +1 -1
  16. data/docs/doc/Doing/Completion.html +1 -1
  17. data/docs/doc/Doing/Configuration.html +1 -1
  18. data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
  19. data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
  20. data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
  21. data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
  22. data/docs/doc/Doing/Errors/NoResults.html +1 -1
  23. data/docs/doc/Doing/Errors/PluginException.html +1 -1
  24. data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
  25. data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
  26. data/docs/doc/Doing/Errors.html +1 -1
  27. data/docs/doc/Doing/Hooks.html +1 -1
  28. data/docs/doc/Doing/Item.html +1 -1
  29. data/docs/doc/Doing/Items.html +1 -1
  30. data/docs/doc/Doing/LogAdapter.html +1 -1
  31. data/docs/doc/Doing/Note.html +1 -1
  32. data/docs/doc/Doing/Pager.html +1 -1
  33. data/docs/doc/Doing/Plugins.html +1 -1
  34. data/docs/doc/Doing/Prompt.html +1 -1
  35. data/docs/doc/Doing/Section.html +1 -1
  36. data/docs/doc/Doing/TemplateString.html +1 -1
  37. data/docs/doc/Doing/Types.html +1 -1
  38. data/docs/doc/Doing/Util/Backup.html +1 -1
  39. data/docs/doc/Doing/Util.html +1 -1
  40. data/docs/doc/Doing/WWID.html +1 -1
  41. data/docs/doc/Doing.html +2 -2
  42. data/docs/doc/FalseClass.html +1 -1
  43. data/docs/doc/GLI/Commands/Help.html +1 -1
  44. data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
  45. data/docs/doc/GLI/Commands.html +1 -1
  46. data/docs/doc/GLI.html +1 -1
  47. data/docs/doc/Hash.html +1 -1
  48. data/docs/doc/Object.html +1 -1
  49. data/docs/doc/PhraseParser/Operator.html +1 -1
  50. data/docs/doc/PhraseParser/PhraseClause.html +1 -1
  51. data/docs/doc/PhraseParser/Query.html +1 -1
  52. data/docs/doc/PhraseParser/QueryParser.html +1 -1
  53. data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
  54. data/docs/doc/PhraseParser/TermClause.html +1 -1
  55. data/docs/doc/PhraseParser.html +1 -1
  56. data/docs/doc/Status.html +1 -1
  57. data/docs/doc/String.html +1 -1
  58. data/docs/doc/Symbol.html +1 -1
  59. data/docs/doc/Time.html +1 -1
  60. data/docs/doc/TrueClass.html +1 -1
  61. data/docs/doc/_index.html +1 -1
  62. data/docs/doc/file.README.html +2 -2
  63. data/docs/doc/index.html +2 -2
  64. data/docs/doc/top-level-namespace.html +1 -1
  65. data/doing.rdoc +11 -30
  66. data/lib/completion/_doing.zsh +2 -6
  67. data/lib/completion/doing.bash +2 -13
  68. data/lib/completion/doing.fish +2 -5
  69. data/lib/doing/changelog/changes.rb +15 -0
  70. data/lib/doing/version.rb +1 -1
  71. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e11cc0c18f66ed073c029c0bdd5332f4ce1f06117cdd2344bc70e967a2ee21b
4
- data.tar.gz: e311fe31c681119aeb58611156a0d70caa3544395eebc3b23ba5c889a34e878a
3
+ metadata.gz: 762f003b3a725f6bbe26c4a2e9a505613b93eb684c55d83093835f2067e47eea
4
+ data.tar.gz: ecdd3a0c9f358a29bf9b01e2e325a0c127271dc589af539f72dcb231ed78e97e
5
5
  SHA512:
6
- metadata.gz: 2729e217d40f6adff50700ecbca1f8ad91db9d959dea927929787e1cdf5a998ee777775de2ac34eb15161412b10de64fb458bae76f7c5218a6a04b2a41a01a8b
7
- data.tar.gz: 548d4e62531fc7aef73274fa67866951540b32df94f3234614898abd658c77fd8e265ef77ac5d7c806f75e20956398dc2f18dca8a09daf8a2adf5702a0030d11
6
+ metadata.gz: d73c3ba23abc5f280384458c4d6a73248716eec69d402fcdf0465c76aceacfa9702f83b2e850033f155bc2f683daf47c85563cd8a33b2a75b50c7f4b10e2166d
7
+ data.tar.gz: bb7d42b918bef7d09c8090f06a60e3d955c4041ba37b95315ca23c1aa09215d3fbd234818d8e7338536d5607472c3f1bcf4127de070e7955e298e5d3081f8a89
data/.yardoc/checksums CHANGED
@@ -13,7 +13,7 @@ lib/doing/colors.rb 8c2d1c8c7e99022d33f1548c5456a0f02d570c4f
13
13
  lib/doing/errors.rb af07e482a5389924edc2337749c81cda501098f0
14
14
  lib/doing/prompt.rb 330b8e6e1e85f73b54f602a0aeac58b6b422fabb
15
15
  lib/doing/section.rb 206e119cf818f1e76798753e611180fe77bc299a
16
- lib/doing/version.rb 816bceebc0f1ceafae7971de83e70f76886cb37c
16
+ lib/doing/version.rb 190db3d91371577707fd9f894fbf2fd118e015db
17
17
  lib/doing/changelog.rb f7d1bd424e63400ab0613ef3358e614fdf53e2b5
18
18
  lib/doing/normalize.rb b9925102db5f19cae0e524ffd1be979ab5bc1199
19
19
  lib/doing/cli_status.rb dbedd454c4cbbd0fed9ef30120f6ec85d18b9356
Binary file
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.1.29
2
+
3
+ 2022-02-14 12:42
4
+
5
+ #### IMPROVED
6
+
7
+ - `doing changes --interactive` will load up a changelog viewer using fzf. Because it makes me happy, that's why.
8
+
1
9
  ### 2.1.28
2
10
 
3
11
  2022-02-14 11:39
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doing (2.1.28)
4
+ doing (2.1.29)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  deep_merge (~> 1.2, >= 1.2.1)
7
7
  gli (~> 2.20, >= 2.20.1)
data/README.md CHANGED
@@ -8,7 +8,7 @@ _If you're one of the rare people like me who find this useful, feel free to
8
8
 
9
9
  <!--README-->
10
10
 
11
- The current version of `doing` is <!--VER-->2.1.27<!--END VER-->.
11
+ The current version of `doing` is <!--VER-->2.1.28<!--END VER-->.
12
12
 
13
13
  Find all of the documentation in the [doing wiki][wiki].
14
14
 
@@ -45,6 +45,12 @@ command %i[changes changelog] do |c|
45
45
  c.desc 'Output raw Markdown'
46
46
  c.switch %i[m md markdown], default_value: false, negatable: false
47
47
 
48
+ c.desc 'Force rendered output'
49
+ c.switch %i[render], default_value: false, negatable: false
50
+
51
+ c.desc 'Open changelog in interactive viewer'
52
+ c.switch %i[i interactive], default_value: false, negatable: false
53
+
48
54
  c.example 'doing changes', desc: 'View changes in the current version'
49
55
  c.example 'doing changes --all', desc: 'See the entire changelog'
50
56
  c.example 'doing changes --lookup 2.0.21', desc: 'See changes from version 2.0.21'
@@ -55,19 +61,23 @@ command %i[changes changelog] do |c|
55
61
  c.action do |_global_options, options, _args|
56
62
  cl = Doing::Changes.new(lookup: options[:lookup], search: options[:search], changes: options[:changes], sort: options[:sort])
57
63
 
58
- content = if options[:all] || options[:search] || options[:lookup]
59
- cl.to_s
60
- else
61
- cl.latest
62
- end
64
+ if options[:interactive]
65
+ cl.interactive
66
+ else
67
+ content = if options[:all] || options[:search] || options[:lookup]
68
+ cl.to_s
69
+ else
70
+ cl.latest
71
+ end
63
72
 
64
- parsed = if options[:markdown] || !$stdout.isatty
65
- content
66
- else
67
- TTY::Markdown.parse(content, width: 80, theme: MARKDOWN_THEME, symbols: { override: { bullet: '•' } })
68
- end
73
+ parsed = if (options[:markdown] || !$stdout.isatty) && !options[:render]
74
+ content
75
+ else
76
+ TTY::Markdown.parse(content, width: 80, theme: MARKDOWN_THEME, symbols: { override: { bullet: '•' } })
77
+ end
69
78
 
70
- Doing::Pager.paginate = true
71
- Doing::Pager.page parsed
79
+ Doing::Pager.paginate = true
80
+ Doing::Pager.page parsed
81
+ end
72
82
  end
73
83
  end
data/docs/doc/Array.html CHANGED
@@ -195,7 +195,7 @@ has content</p>
195
195
  </div>
196
196
 
197
197
  <div id="footer">
198
- Generated on Mon Feb 14 11:45:23 2022 by
198
+ Generated on Mon Feb 14 14:34:40 2022 by
199
199
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
200
200
  0.9.27 (ruby-3.0.1).
201
201
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Mon Feb 14 11:45:23 2022 by
286
+ Generated on Mon Feb 14 14:34:40 2022 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.27 (ruby-3.0.1).
289
289
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Mon Feb 14 11:45:23 2022 by
165
+ Generated on Mon Feb 14 14:34:40 2022 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.27 (ruby-3.0.1).
168
168
  </div>
@@ -407,7 +407,7 @@
407
407
  </div>
408
408
 
409
409
  <div id="footer">
410
- Generated on Mon Feb 14 11:45:23 2022 by
410
+ Generated on Mon Feb 14 14:34:40 2022 by
411
411
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
412
412
  0.9.27 (ruby-3.0.1).
413
413
  </div>
@@ -125,7 +125,7 @@ parser. In order to do that, a new &quot;clause&quot; node is added to the parse
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Mon Feb 14 11:45:23 2022 by
128
+ Generated on Mon Feb 14 14:34:40 2022 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
130
  0.9.27 (ruby-3.0.1).
131
131
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Mon Feb 14 11:45:23 2022 by
117
+ Generated on Mon Feb 14 14:34:40 2022 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.27 (ruby-3.0.1).
120
120
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Mon Feb 14 11:45:23 2022 by
108
+ Generated on Mon Feb 14 14:34:40 2022 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.27 (ruby-3.0.1).
111
111
  </div>
@@ -518,7 +518,7 @@ ANSI-sequences are stripped from the string.</p>
518
518
  </div>
519
519
 
520
520
  <div id="footer">
521
- Generated on Mon Feb 14 11:45:23 2022 by
521
+ Generated on Mon Feb 14 14:34:40 2022 by
522
522
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
523
523
  0.9.27 (ruby-3.0.1).
524
524
  </div>
@@ -206,7 +206,7 @@ stdout</p>
206
206
  </div>
207
207
 
208
208
  <div id="footer">
209
- Generated on Mon Feb 14 11:45:23 2022 by
209
+ Generated on Mon Feb 14 14:34:40 2022 by
210
210
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
211
211
  0.9.27 (ruby-3.0.1).
212
212
  </div>
@@ -1139,7 +1139,7 @@ matched, first match wins)</p>
1139
1139
  </div>
1140
1140
 
1141
1141
  <div id="footer">
1142
- Generated on Mon Feb 14 11:45:23 2022 by
1142
+ Generated on Mon Feb 14 14:34:40 2022 by
1143
1143
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1144
1144
  0.9.27 (ruby-3.0.1).
1145
1145
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 11:45:23 2022 by
179
+ Generated on Mon Feb 14 14:34:40 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 11:45:23 2022 by
179
+ Generated on Mon Feb 14 14:34:40 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 11:45:23 2022 by
179
+ Generated on Mon Feb 14 14:34:40 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 11:45:23 2022 by
179
+ Generated on Mon Feb 14 14:34:40 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 11:45:23 2022 by
179
+ Generated on Mon Feb 14 14:34:40 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Mon Feb 14 11:45:23 2022 by
241
+ Generated on Mon Feb 14 14:34:40 2022 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.9.27 (ruby-3.0.1).
244
244
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 11:45:23 2022 by
179
+ Generated on Mon Feb 14 14:34:40 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -176,7 +176,7 @@
176
176
  </div>
177
177
 
178
178
  <div id="footer">
179
- Generated on Mon Feb 14 11:45:23 2022 by
179
+ Generated on Mon Feb 14 14:34:40 2022 by
180
180
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
181
181
  0.9.27 (ruby-3.0.1).
182
182
  </div>
@@ -181,7 +181,7 @@
181
181
  </div>
182
182
 
183
183
  <div id="footer">
184
- Generated on Mon Feb 14 11:45:23 2022 by
184
+ Generated on Mon Feb 14 14:34:40 2022 by
185
185
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
186
186
  0.9.27 (ruby-3.0.1).
187
187
  </div>
@@ -354,7 +354,7 @@
354
354
  </div>
355
355
 
356
356
  <div id="footer">
357
- Generated on Mon Feb 14 11:45:23 2022 by
357
+ Generated on Mon Feb 14 14:34:40 2022 by
358
358
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
359
359
  0.9.27 (ruby-3.0.1).
360
360
  </div>
@@ -2229,7 +2229,7 @@ thus should not receive a date on the @done tag</p>
2229
2229
  </div>
2230
2230
 
2231
2231
  <div id="footer">
2232
- Generated on Mon Feb 14 11:45:23 2022 by
2232
+ Generated on Mon Feb 14 14:34:40 2022 by
2233
2233
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2234
2234
  0.9.27 (ruby-3.0.1).
2235
2235
  </div>
@@ -890,7 +890,7 @@ specified section</p>
890
890
  </div>
891
891
 
892
892
  <div id="footer">
893
- Generated on Mon Feb 14 11:45:23 2022 by
893
+ Generated on Mon Feb 14 14:34:40 2022 by
894
894
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
895
895
  0.9.27 (ruby-3.0.1).
896
896
  </div>
@@ -1797,7 +1797,7 @@ message (optional)</p>
1797
1797
  </div>
1798
1798
 
1799
1799
  <div id="footer">
1800
- Generated on Mon Feb 14 11:45:23 2022 by
1800
+ Generated on Mon Feb 14 14:34:40 2022 by
1801
1801
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1802
1802
  0.9.27 (ruby-3.0.1).
1803
1803
  </div>
@@ -627,7 +627,7 @@ content</p>
627
627
  </div>
628
628
 
629
629
  <div id="footer">
630
- Generated on Mon Feb 14 11:45:23 2022 by
630
+ Generated on Mon Feb 14 14:34:40 2022 by
631
631
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
632
632
  0.9.27 (ruby-3.0.1).
633
633
  </div>
@@ -296,7 +296,7 @@ STDOUT</p>
296
296
  </div>
297
297
 
298
298
  <div id="footer">
299
- Generated on Mon Feb 14 11:45:23 2022 by
299
+ Generated on Mon Feb 14 14:34:40 2022 by
300
300
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
301
301
  0.9.27 (ruby-3.0.1).
302
302
  </div>
@@ -1235,7 +1235,7 @@ e.g. :imp =&gt; :import</p>
1235
1235
  </div>
1236
1236
 
1237
1237
  <div id="footer">
1238
- Generated on Mon Feb 14 11:45:23 2022 by
1238
+ Generated on Mon Feb 14 14:34:40 2022 by
1239
1239
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1240
1240
  0.9.27 (ruby-3.0.1).
1241
1241
  </div>
@@ -977,7 +977,7 @@ response if no input</p>
977
977
  </div>
978
978
 
979
979
  <div id="footer">
980
- Generated on Mon Feb 14 11:45:23 2022 by
980
+ Generated on Mon Feb 14 14:34:40 2022 by
981
981
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
982
982
  0.9.27 (ruby-3.0.1).
983
983
  </div>
@@ -344,7 +344,7 @@
344
344
  </div>
345
345
 
346
346
  <div id="footer">
347
- Generated on Mon Feb 14 11:45:23 2022 by
347
+ Generated on Mon Feb 14 14:34:40 2022 by
348
348
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
349
349
  0.9.27 (ruby-3.0.1).
350
350
  </div>
@@ -703,7 +703,7 @@ of colors and string locations</p>
703
703
  </div>
704
704
 
705
705
  <div id="footer">
706
- Generated on Mon Feb 14 11:45:23 2022 by
706
+ Generated on Mon Feb 14 14:34:40 2022 by
707
707
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
708
708
  0.9.27 (ruby-3.0.1).
709
709
  </div>
@@ -236,7 +236,7 @@
236
236
  </div>
237
237
 
238
238
  <div id="footer">
239
- Generated on Mon Feb 14 11:45:23 2022 by
239
+ Generated on Mon Feb 14 14:34:40 2022 by
240
240
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
241
241
  0.9.27 (ruby-3.0.1).
242
242
  </div>
@@ -836,7 +836,7 @@ in a hidden directory</p>
836
836
  </div>
837
837
 
838
838
  <div id="footer">
839
- Generated on Mon Feb 14 11:45:23 2022 by
839
+ Generated on Mon Feb 14 14:34:40 2022 by
840
840
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
841
841
  0.9.27 (ruby-3.0.1).
842
842
  </div>
@@ -925,7 +925,7 @@ other_hash - the other hash whose values will be persisted after the merge</p>
925
925
  </div>
926
926
 
927
927
  <div id="footer">
928
- Generated on Mon Feb 14 11:45:23 2022 by
928
+ Generated on Mon Feb 14 14:34:40 2022 by
929
929
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
930
930
  0.9.27 (ruby-3.0.1).
931
931
  </div>
@@ -4766,7 +4766,7 @@ json, or text)</p>
4766
4766
  </div>
4767
4767
 
4768
4768
  <div id="footer">
4769
- Generated on Mon Feb 14 11:45:23 2022 by
4769
+ Generated on Mon Feb 14 14:34:40 2022 by
4770
4770
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
4771
4771
  0.9.27 (ruby-3.0.1).
4772
4772
  </div>
data/docs/doc/Doing.html CHANGED
@@ -119,7 +119,7 @@
119
119
  <dt id="VERSION-constant" class="">VERSION =
120
120
 
121
121
  </dt>
122
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.28</span><span class='tstring_end'>&#39;</span></span></pre></dd>
122
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.29</span><span class='tstring_end'>&#39;</span></span></pre></dd>
123
123
 
124
124
  </dl>
125
125
 
@@ -135,7 +135,7 @@
135
135
  </div>
136
136
 
137
137
  <div id="footer">
138
- Generated on Mon Feb 14 11:45:23 2022 by
138
+ Generated on Mon Feb 14 14:34:40 2022 by
139
139
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
140
  0.9.27 (ruby-3.0.1).
141
141
  </div>
@@ -225,7 +225,7 @@ has content</p>
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Mon Feb 14 11:45:23 2022 by
228
+ Generated on Mon Feb 14 14:34:40 2022 by
229
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.27 (ruby-3.0.1).
231
231
  </div>
@@ -175,7 +175,7 @@
175
175
  </div>
176
176
 
177
177
  <div id="footer">
178
- Generated on Mon Feb 14 11:45:23 2022 by
178
+ Generated on Mon Feb 14 14:34:40 2022 by
179
179
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
180
180
  0.9.27 (ruby-3.0.1).
181
181
  </div>
@@ -753,7 +753,7 @@
753
753
  </div>
754
754
 
755
755
  <div id="footer">
756
- Generated on Mon Feb 14 11:45:23 2022 by
756
+ Generated on Mon Feb 14 14:34:40 2022 by
757
757
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
758
758
  0.9.27 (ruby-3.0.1).
759
759
  </div>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Mon Feb 14 11:45:23 2022 by
110
+ Generated on Mon Feb 14 14:34:40 2022 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.27 (ruby-3.0.1).
113
113
  </div>
data/docs/doc/GLI.html CHANGED
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Mon Feb 14 11:45:23 2022 by
110
+ Generated on Mon Feb 14 14:34:40 2022 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.27 (ruby-3.0.1).
113
113
  </div>
data/docs/doc/Hash.html CHANGED
@@ -516,7 +516,7 @@
516
516
  </div>
517
517
 
518
518
  <div id="footer">
519
- Generated on Mon Feb 14 11:45:23 2022 by
519
+ Generated on Mon Feb 14 14:34:40 2022 by
520
520
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
521
521
  0.9.27 (ruby-3.0.1).
522
522
  </div>
data/docs/doc/Object.html CHANGED
@@ -193,7 +193,7 @@ has content</p>
193
193
  </div>
194
194
 
195
195
  <div id="footer">
196
- Generated on Mon Feb 14 11:45:23 2022 by
196
+ Generated on Mon Feb 14 14:34:40 2022 by
197
197
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
198
198
  0.9.27 (ruby-3.0.1).
199
199
  </div>
@@ -162,7 +162,7 @@
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Mon Feb 14 11:45:23 2022 by
165
+ Generated on Mon Feb 14 14:34:40 2022 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
167
167
  0.9.27 (ruby-3.0.1).
168
168
  </div>
@@ -293,7 +293,7 @@
293
293
  </div>
294
294
 
295
295
  <div id="footer">
296
- Generated on Mon Feb 14 11:45:23 2022 by
296
+ Generated on Mon Feb 14 14:34:40 2022 by
297
297
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
298
298
  0.9.27 (ruby-3.0.1).
299
299
  </div>
@@ -485,7 +485,7 @@
485
485
  </div>
486
486
 
487
487
  <div id="footer">
488
- Generated on Mon Feb 14 11:45:23 2022 by
488
+ Generated on Mon Feb 14 14:34:40 2022 by
489
489
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
490
490
  0.9.27 (ruby-3.0.1).
491
491
  </div>
@@ -126,7 +126,7 @@ A phrase clause generates an Elasticsearch match_phrase query.</p>
126
126
  </div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Mon Feb 14 11:45:23 2022 by
129
+ Generated on Mon Feb 14 14:34:40 2022 by
130
130
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
131
  0.9.27 (ruby-3.0.1).
132
132
  </div>
@@ -114,7 +114,7 @@
114
114
  </div>
115
115
 
116
116
  <div id="footer">
117
- Generated on Mon Feb 14 11:45:23 2022 by
117
+ Generated on Mon Feb 14 14:34:40 2022 by
118
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
119
  0.9.27 (ruby-3.0.1).
120
120
  </div>
@@ -283,7 +283,7 @@
283
283
  </div>
284
284
 
285
285
  <div id="footer">
286
- Generated on Mon Feb 14 11:45:23 2022 by
286
+ Generated on Mon Feb 14 14:34:40 2022 by
287
287
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
288
288
  0.9.27 (ruby-3.0.1).
289
289
  </div>
@@ -105,7 +105,7 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Mon Feb 14 11:45:23 2022 by
108
+ Generated on Mon Feb 14 14:34:40 2022 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
110
  0.9.27 (ruby-3.0.1).
111
111
  </div>
data/docs/doc/Status.html CHANGED
@@ -316,7 +316,7 @@
316
316
  </div>
317
317
 
318
318
  <div id="footer">
319
- Generated on Mon Feb 14 11:45:23 2022 by
319
+ Generated on Mon Feb 14 14:34:40 2022 by
320
320
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
321
321
  0.9.27 (ruby-3.0.1).
322
322
  </div>
data/docs/doc/String.html CHANGED
@@ -1129,7 +1129,7 @@ be recognized, e.g. %greensomething still finds
1129
1129
  </div>
1130
1130
 
1131
1131
  <div id="footer">
1132
- Generated on Mon Feb 14 11:45:23 2022 by
1132
+ Generated on Mon Feb 14 14:34:40 2022 by
1133
1133
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1134
1134
  0.9.27 (ruby-3.0.1).
1135
1135
  </div>
data/docs/doc/Symbol.html CHANGED
@@ -342,7 +342,7 @@
342
342
  </div>
343
343
 
344
344
  <div id="footer">
345
- Generated on Mon Feb 14 11:45:23 2022 by
345
+ Generated on Mon Feb 14 14:34:40 2022 by
346
346
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
347
347
  0.9.27 (ruby-3.0.1).
348
348
  </div>
data/docs/doc/Time.html CHANGED
@@ -240,7 +240,7 @@
240
240
  </div>
241
241
 
242
242
  <div id="footer">
243
- Generated on Mon Feb 14 11:45:23 2022 by
243
+ Generated on Mon Feb 14 14:34:40 2022 by
244
244
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
245
245
  0.9.27 (ruby-3.0.1).
246
246
  </div>
@@ -225,7 +225,7 @@ has content</p>
225
225
  </div>
226
226
 
227
227
  <div id="footer">
228
- Generated on Mon Feb 14 11:45:23 2022 by
228
+ Generated on Mon Feb 14 14:34:40 2022 by
229
229
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
230
230
  0.9.27 (ruby-3.0.1).
231
231
  </div>
data/docs/doc/_index.html CHANGED
@@ -587,7 +587,7 @@
587
587
  </div>
588
588
 
589
589
  <div id="footer">
590
- Generated on Mon Feb 14 11:45:23 2022 by
590
+ Generated on Mon Feb 14 14:34:40 2022 by
591
591
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
592
592
  0.9.27 (ruby-3.0.1).
593
593
  </div>
@@ -67,7 +67,7 @@ you&#39;ve done.</strong></p>
67
67
 
68
68
  <!--README-->
69
69
 
70
- <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.27&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.28&lt;!--END VER--&gt;.</p>
71
71
 
72
72
  <p>Find all of the documentation in the <a href="https://github.com/ttscoff/doing/wiki">doing wiki</a>.</p>
73
73
 
@@ -149,7 +149,7 @@ with changes. Please target the <code>develop</code> branch with pull requests.<
149
149
  </div></div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Mon Feb 14 11:45:23 2022 by
152
+ Generated on Mon Feb 14 14:34:40 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.27 (ruby-3.0.1).
155
155
  </div>
data/docs/doc/index.html CHANGED
@@ -67,7 +67,7 @@ you&#39;ve done.</strong></p>
67
67
 
68
68
  <!--README-->
69
69
 
70
- <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.27&lt;!--END VER--&gt;.</p>
70
+ <p>The current version of <code>doing</code> is &lt;!--VER--&gt;2.1.28&lt;!--END VER--&gt;.</p>
71
71
 
72
72
  <p>Find all of the documentation in the <a href="https://github.com/ttscoff/doing/wiki">doing wiki</a>.</p>
73
73
 
@@ -149,7 +149,7 @@ with changes. Please target the <code>develop</code> branch with pull requests.<
149
149
  </div></div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Mon Feb 14 11:45:23 2022 by
152
+ Generated on Mon Feb 14 14:34:40 2022 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.27 (ruby-3.0.1).
155
155
  </div>
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Mon Feb 14 11:45:23 2022 by
105
+ Generated on Mon Feb 14 14:34:40 2022 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
107
  0.9.27 (ruby-3.0.1).
108
108
  </div>
data/doing.rdoc CHANGED
@@ -5,7 +5,7 @@ record of what you've been doing, complete with tag-based time tracking. The
5
5
  command line tool allows you to add entries, annotate with tags and notes, and
6
6
  view your entries with myriad options, with a focus on a "natural" language syntax.
7
7
 
8
- v2.1.28
8
+ v2.1.29
9
9
 
10
10
  === Global Options
11
11
  === --config_file arg
@@ -472,11 +472,21 @@ Display all versions
472
472
 
473
473
 
474
474
 
475
+ ===== -i|--interactive
476
+ Open changelog in interactive viewer
477
+
478
+
479
+
475
480
  ===== -m|--md|--markdown
476
481
  Output raw Markdown
477
482
 
478
483
 
479
484
 
485
+ ===== --render
486
+ Force rendered output
487
+
488
+
489
+
480
490
  ==== Command: <tt>colors </tt>
481
491
  List available color variables for configuration templates and views
482
492
 
@@ -1169,35 +1179,6 @@ Force exact search string matching (case sensitive)
1169
1179
 
1170
1180
 
1171
1181
 
1172
- ==== Command: <tt>later ENTRY</tt>
1173
- Add an item to the Later section
1174
-
1175
-
1176
- ===== Options
1177
- ===== -b|--back|--started DATE_STRING
1178
-
1179
- Backdate start time to date string [4pm|20m|2h|yesterday noon]
1180
-
1181
- [Default Value] None
1182
-
1183
-
1184
- ===== -n|--note TEXT
1185
-
1186
- Note
1187
-
1188
- [Default Value] None
1189
-
1190
-
1191
- ===== --ask
1192
- Prompt for note via multi-line input
1193
-
1194
-
1195
-
1196
- ===== -e|--editor
1197
- Edit entry with vim
1198
-
1199
-
1200
-
1201
1182
  ==== Command: <tt>mark|flag </tt>
1202
1183
  Mark last entry as flagged
1203
1184
 
@@ -28,7 +28,6 @@ function _doing() {
28
28
  'help:Shows a list of commands or help for one command'
29
29
  'import:Import entries from an external source'
30
30
  'last:Show the last entry'
31
- 'later:Add an item to the Later section'
32
31
  'mark:Mark last entry as flagged'
33
32
  'flag:Mark last entry as flagged'
34
33
  'meanwhile:Finish any running @meanwhile tasks and optionally create a new one'
@@ -89,10 +88,10 @@ function _doing() {
89
88
  args=( {-a,--archive}"[Archive entries]" "(--bool=)--bool=}[Boolean used to combine multiple tags]" "(--case=)--case=}[Case sensitivity for search string matching [(c)ase-sensitive]" {-i,--interactive}"[Select item(s) to cancel from a menu of matching entries]" "(--not)--not}[Cancel items that *dont* match search/tag filterst* match search/tag filters]" {-s,--section=}"[Section]" "(--search=)--search=}[Filter entries using a search query]" "(--tag=)--tag=}[Filter entries by tag]" {-u,--unfinished}"[Cancel last entry]" "(--val=)--val=}[Perform a tag value query]" {-x,--exact}"[Force exact search string matching]" )
90
89
  ;;
91
90
  changes)
92
- args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" {-s,--search=}"[Show changelogs matching search terms]" "(--sort=)--sort=}[Sort order]" )
91
+ args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-i,--interactive}"[Open changelog in interactive viewer]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" "(--render)--render}[Force rendered output]" {-s,--search=}"[Show changelogs matching search terms]" "(--sort=)--sort=}[Sort order]" )
93
92
  ;;
94
93
  changelog)
95
- args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" {-s,--search=}"[Show changelogs matching search terms]" "(--sort=)--sort=}[Sort order]" )
94
+ args=( {-C,--changes}"[Only output changes]" {-a,--all}"[Display all versions]" {-i,--interactive}"[Open changelog in interactive viewer]" {-l,--lookup=}"[Look up a specific version]" "(--markdown)--markdown}[Output raw Markdown]" "(--render)--render}[Force rendered output]" {-s,--search=}"[Show changelogs matching search terms]" "(--sort=)--sort=}[Sort order]" )
96
95
  ;;
97
96
  colors)
98
97
  args=( )
@@ -130,9 +129,6 @@ function _doing() {
130
129
  last)
131
130
  args=( "(--bool=)--bool=}[Boolean used to combine multiple tags]" "(--case=)--case=}[Case sensitivity for search string matching [(c)ase-sensitive]" "(--config_template=)--config_template=}[Output using a template from configuration]" {-d,--delete}"[Delete the last entry]" "(--duration)--duration}[Show elapsed time if entry is not tagged @done]" {-e,--editor}"[Edit entry with vim]" {-h,--hilite}"[Highlight search matches in output]" "(--not)--not}[Show items that *dont* match search/tag filterst* match search/tag filters]" {-s,--section=}"[Specify a section]" "(--search=)--search=}[Filter entries using a search query]" "(--tag=)--tag=}[Filter entries by tag]" "(--template=)--template=}[Override output format with a template string containing %placeholders]" "(--val=)--val=}[Perform a tag value query]" {-x,--exact}"[Force exact search string matching]" )
132
131
  ;;
133
- later)
134
- args=( "(--ask)--ask}[Prompt for note via multi-line input]" "(--started=)--started=}[Backdate start time to date string [4pm|20m|2h|yesterday noon]]" {-e,--editor}"[Edit entry with vim]" {-n,--note=}"[Note]" )
135
- ;;
136
132
  mark)
137
133
  args=( "(--bool=)--bool=}[Boolean used to combine multiple tags]" {-c,--count=}"[How many recent entries to tag]" "(--case=)--case=}[Case sensitivity for search string matching [(c)ase-sensitive]" {-d,--date}"[Include current date/time with tag]" "(--force)--force}[Dont ask permission to flag all entries when count is 0t ask permission to flag all entries when count is 0]" {-i,--interactive}"[Select item(s) to flag from a menu of matching entries]" "(--not)--not}[Flag items that *dont* match search/tag filterst* match search/tag filters]" {-r,--remove}"[Remove flag]" {-s,--section=}"[Section]" "(--search=)--search=}[Filter entries using a search query]" "(--tag=)--tag=}[Filter entries by tag]" {-u,--unfinished}"[Flag last entry]" "(--val=)--val=}[Perform a tag value query]" {-x,--exact}"[Force exact search string matching]" )
138
134
  ;;
@@ -61,9 +61,9 @@ _doing_cancel() {
61
61
  _doing_changes() {
62
62
 
63
63
  if [[ "$token" == --* ]]; then
64
- COMPREPLY=( $( compgen -W '--changes --all --lookup --markdown --search --sort' -- $token ) )
64
+ COMPREPLY=( $( compgen -W '--changes --all --interactive --lookup --markdown --render --search --sort' -- $token ) )
65
65
  elif [[ "$token" == -* ]]; then
66
- COMPREPLY=( $( compgen -W '-C -a -l -s --changes --all --lookup --markdown --search --sort' -- $token ) )
66
+ COMPREPLY=( $( compgen -W '-C -a -i -l -s --changes --all --interactive --lookup --markdown --render --search --sort' -- $token ) )
67
67
 
68
68
  fi
69
69
  }
@@ -148,16 +148,6 @@ _doing_last() {
148
148
  fi
149
149
  }
150
150
 
151
- _doing_later() {
152
-
153
- if [[ "$token" == --* ]]; then
154
- COMPREPLY=( $( compgen -W '--ask --started --editor --note' -- $token ) )
155
- elif [[ "$token" == -* ]]; then
156
- COMPREPLY=( $( compgen -W '-e -n --ask --started --editor --note' -- $token ) )
157
-
158
- fi
159
- }
160
-
161
151
  _doing_mark() {
162
152
 
163
153
  if [[ "$token" == --* ]]; then
@@ -466,7 +456,6 @@ _doing()
466
456
  elif [[ $last =~ (help) ]]; then _doing_help
467
457
  elif [[ $last =~ (import) ]]; then _doing_import
468
458
  elif [[ $last =~ (last) ]]; then _doing_last
469
- elif [[ $last =~ (later) ]]; then _doing_later
470
459
  elif [[ $last =~ (mark|flag) ]]; then _doing_mark
471
460
  elif [[ $last =~ (meanwhile) ]]; then _doing_meanwhile
472
461
  elif [[ $last =~ (note) ]]; then _doing_note
@@ -151,7 +151,6 @@ complete -xc doing -n '__fish_doing_needs_command' -a 'grep search' -d Search\ f
151
151
  complete -xc doing -n '__fish_doing_needs_command' -a 'help' -d Shows\ a\ list\ of\ commands\ or\ help\ for\ one\ command
152
152
  complete -xc doing -n '__fish_doing_needs_command' -a 'import' -d Import\ entries\ from\ an\ external\ source
153
153
  complete -xc doing -n '__fish_doing_needs_command' -a 'last' -d Show\ the\ last\ entry
154
- complete -xc doing -n '__fish_doing_needs_command' -a 'later' -d Add\ an\ item\ to\ the\ Later\ section
155
154
  complete -xc doing -n '__fish_doing_needs_command' -a 'mark flag' -d Mark\ last\ entry\ as\ flagged
156
155
  complete -xc doing -n '__fish_doing_needs_command' -a 'meanwhile' -d Finish\ any\ running\ @meanwhile\ tasks\ and\ optionally\ create\ a\ new\ one
157
156
  complete -xc doing -n '__fish_doing_needs_command' -a 'note' -d Add\ a\ note\ to\ the\ last\ entry
@@ -227,8 +226,10 @@ complete -c doing -l val -f -r -n '__fish_doing_using_command cancel' -d Perfor
227
226
  complete -c doing -l exact -s x -f -n '__fish_doing_using_command cancel' -d Force\ exact\ search\ string\ matching
228
227
  complete -c doing -l changes -s C -f -n '__fish_doing_using_command changes changelog' -d Only\ output\ changes
229
228
  complete -c doing -l all -s a -f -n '__fish_doing_using_command changes changelog' -d Display\ all\ versions
229
+ complete -c doing -l interactive -s i -f -n '__fish_doing_using_command changes changelog' -d Open\ changelog\ in\ interactive\ viewer
230
230
  complete -c doing -l lookup -s l -f -r -n '__fish_doing_using_command changes changelog' -d Look\ up\ a\ specific\ version
231
231
  complete -c doing -l markdown -f -n '__fish_doing_using_command changes changelog' -d Output\ raw\ Markdown
232
+ complete -c doing -l render -f -n '__fish_doing_using_command changes changelog' -d Force\ rendered\ output
232
233
  complete -c doing -l search -s s -f -r -n '__fish_doing_using_command changes changelog' -d Show\ changelogs\ matching\ search\ terms
233
234
  complete -c doing -l sort -f -r -n '__fish_doing_using_command changes changelog' -d Sort\ order
234
235
  complete -c doing -l file -s f -f -r -n '__fish_doing_using_command completion' -d File\ to\ write\ output\ to
@@ -316,10 +317,6 @@ complete -c doing -l tag -f -r -n '__fish_doing_using_command last' -d Filter\
316
317
  complete -c doing -l template -f -r -n '__fish_doing_using_command last' -d Override\ output\ format\ with\ a\ template\ string\ containing\ \%placeholders
317
318
  complete -c doing -l val -f -r -n '__fish_doing_using_command last' -d Perform\ a\ tag\ value\ query
318
319
  complete -c doing -l exact -s x -f -n '__fish_doing_using_command last' -d Force\ exact\ search\ string\ matching
319
- complete -c doing -l ask -f -n '__fish_doing_using_command later' -d Prompt\ for\ note\ via\ multi-line\ input
320
- complete -c doing -l started -f -r -n '__fish_doing_using_command later' -d Backdate\ start\ time\ to\ date\ string\ \[4pm\|20m\|2h\|yesterday\ noon\]
321
- complete -c doing -l editor -s e -f -n '__fish_doing_using_command later' -d Edit\ entry\ with\ vim
322
- complete -c doing -l note -s n -f -r -n '__fish_doing_using_command later' -d Note
323
320
  complete -c doing -l bool -f -r -n '__fish_doing_using_command mark flag' -d Boolean\ used\ to\ combine\ multiple\ tags
324
321
  complete -c doing -l count -s c -f -r -n '__fish_doing_using_command mark flag' -d How\ many\ recent\ entries\ to\ tag
325
322
  complete -c doing -l case -f -r -n '__fish_doing_using_command mark flag' -d Case\ sensitivity\ for\ search\ string\ matching\ \[\(c\)ase-sensitive
@@ -25,6 +25,21 @@ module Doing
25
25
  end
26
26
  end
27
27
 
28
+ def versions
29
+ @changes.select { |change| change.entries&.count > 0 }.map { |change| change.version }
30
+ end
31
+
32
+ def interactive
33
+ Doing::Prompt.choose_from(versions,
34
+ prompt: 'Select a version to see its changelog',
35
+ sorted: false,
36
+ fzf_args: [
37
+ %(--preview='doing changes --render -l {1}'),
38
+ '--disabled',
39
+ '--preview-window="right,70%"'
40
+ ])
41
+ end
42
+
28
43
  def to_s
29
44
  if @changes_only
30
45
  @changes.map(&:changes_only).join().force_encoding('utf-8')
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '2.1.28'
2
+ VERSION = '2.1.29'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.28
4
+ version: 2.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra