doing 2.1.12 → 2.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.irbrc +1 -0
- data/.yardoc/checksums +16 -14
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/CHANGELOG.md +67 -0
- data/Gemfile.lock +9 -2
- data/README.md +56 -19
- data/bin/doing +317 -113
- data/docs/doc/Array.html +117 -3
- data/docs/doc/BooleanTermParser/Clause.html +1 -1
- data/docs/doc/BooleanTermParser/Operator.html +1 -1
- data/docs/doc/BooleanTermParser/Query.html +1 -1
- data/docs/doc/BooleanTermParser/QueryParser.html +1 -1
- data/docs/doc/BooleanTermParser/QueryTransformer.html +1 -1
- data/docs/doc/BooleanTermParser.html +1 -1
- data/docs/doc/Doing/Color.html +1 -1
- data/docs/doc/Doing/Completion.html +1 -1
- data/docs/doc/Doing/Configuration.html +7 -4
- data/docs/doc/Doing/Errors/DoingNoTraceError.html +1 -1
- data/docs/doc/Doing/Errors/DoingRuntimeError.html +1 -1
- data/docs/doc/Doing/Errors/DoingStandardError.html +1 -1
- data/docs/doc/Doing/Errors/EmptyInput.html +1 -1
- data/docs/doc/Doing/Errors/NoResults.html +1 -1
- data/docs/doc/Doing/Errors/PluginException.html +1 -1
- data/docs/doc/Doing/Errors/UserCancelled.html +1 -1
- data/docs/doc/Doing/Errors/WrongCommand.html +1 -1
- data/docs/doc/Doing/Errors.html +1 -1
- data/docs/doc/Doing/Hooks.html +1 -1
- data/docs/doc/Doing/Item.html +337 -14
- data/docs/doc/Doing/Items.html +66 -2
- data/docs/doc/Doing/LogAdapter.html +1 -1
- data/docs/doc/Doing/Note.html +2 -2
- data/docs/doc/Doing/Pager.html +1 -1
- data/docs/doc/Doing/Plugins.html +1 -1
- data/docs/doc/Doing/Prompt.html +103 -1
- data/docs/doc/Doing/Section.html +1 -1
- data/docs/doc/Doing/TemplateString.html +2 -2
- data/docs/doc/Doing/Util/Backup.html +84 -1
- data/docs/doc/Doing/Util.html +1 -1
- data/docs/doc/Doing/WWID.html +214 -35
- data/docs/doc/Doing.html +3 -3
- data/docs/doc/GLI/Commands/MarkdownDocumentListener.html +1 -1
- data/docs/doc/GLI/Commands.html +1 -1
- data/docs/doc/GLI.html +1 -1
- data/docs/doc/Hash.html +1 -1
- data/docs/doc/Numeric.html +279 -0
- data/docs/doc/PhraseParser/Operator.html +1 -1
- data/docs/doc/PhraseParser/PhraseClause.html +1 -1
- data/docs/doc/PhraseParser/Query.html +1 -1
- data/docs/doc/PhraseParser/QueryParser.html +1 -1
- data/docs/doc/PhraseParser/QueryTransformer.html +1 -1
- data/docs/doc/PhraseParser/TermClause.html +1 -1
- data/docs/doc/PhraseParser.html +1 -1
- data/docs/doc/Status.html +1 -1
- data/docs/doc/String.html +881 -138
- data/docs/doc/Symbol.html +1 -1
- data/docs/doc/Time.html +1 -1
- data/docs/doc/_index.html +14 -9
- data/docs/doc/class_list.html +1 -1
- data/docs/doc/file.README.html +41 -15
- data/docs/doc/index.html +41 -15
- data/docs/doc/method_list.html +408 -256
- data/docs/doc/top-level-namespace.html +2 -2
- data/docs/index.md +56 -19
- data/doing.gemspec +2 -0
- data/doing.rdoc +257 -48
- data/example_plugin.rb +2 -4
- data/lib/completion/_doing.zsh +31 -27
- data/lib/completion/doing.bash +50 -39
- data/lib/completion/doing.fish +37 -7
- data/lib/doing/array_chronify.rb +57 -0
- data/lib/doing/configuration.rb +4 -1
- data/lib/doing/item.rb +176 -0
- data/lib/doing/log_adapter.rb +1 -1
- data/lib/doing/numeric_chronify.rb +40 -0
- data/lib/doing/plugins/export/dayone_export.rb +1 -1
- data/lib/doing/plugins/export/json_export.rb +2 -2
- data/lib/doing/plugins/export/template_export.rb +47 -90
- data/lib/doing/plugins/import/calendar_import.rb +13 -1
- data/lib/doing/plugins/import/doing_import.rb +12 -1
- data/lib/doing/plugins/import/timing_import.rb +13 -1
- data/lib/doing/prompt.rb +54 -1
- data/lib/doing/string.rb +97 -33
- data/lib/doing/string_chronify.rb +112 -14
- data/lib/doing/template_string.rb +1 -1
- data/lib/doing/time.rb +6 -6
- data/lib/doing/util_backup.rb +1 -1
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +128 -103
- data/lib/doing.rb +36 -31
- data/lib/examples/plugins/say_export.rb +1 -4
- metadata +46 -2
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
|
88
88
|
|
89
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Array.html" title="Array (class)">Array</a></span>, <span class='object_link'><a href="Hash.html" title="Hash (class)">Hash</a></span>, <span class='object_link'><a href="String.html" title="String (class)">String</a></span>, <span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span>, <span class='object_link'><a href="Time.html" title="Time (class)">Time</a></span>
|
89
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Array.html" title="Array (class)">Array</a></span>, <span class='object_link'><a href="Hash.html" title="Hash (class)">Hash</a></span>, <span class='object_link'><a href="Numeric.html" title="Numeric (class)">Numeric</a></span>, <span class='object_link'><a href="String.html" title="String (class)">String</a></span>, <span class='object_link'><a href="Symbol.html" title="Symbol (class)">Symbol</a></span>, <span class='object_link'><a href="Time.html" title="Time (class)">Time</a></span>
|
90
90
|
|
91
91
|
|
92
92
|
</p>
|
@@ -102,7 +102,7 @@
|
|
102
102
|
</div>
|
103
103
|
|
104
104
|
<div id="footer">
|
105
|
-
Generated on Tue
|
105
|
+
Generated on Tue Jan 18 02:48:57 2022 by
|
106
106
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
107
107
|
0.9.26 (ruby-3.0.1).
|
108
108
|
</div>
|
data/docs/index.md
CHANGED
@@ -1,53 +1,90 @@
|
|
1
1
|
# doing
|
2
2
|
|
3
|
-
**A command line tool for remembering what you were doing and tracking what
|
3
|
+
**A command line tool for remembering what you were doing and tracking what
|
4
|
+
you've done.**
|
4
5
|
|
5
|
-
_If you're one of the rare people like me who find this useful, feel free to
|
6
|
+
_If you're one of the rare people like me who find this useful, feel free to
|
7
|
+
[buy me some coffee][donate]._
|
6
8
|
|
7
9
|
|
8
10
|
|
9
|
-
The current version of `doing` is 2.1.
|
11
|
+
The current version of `doing` is 2.1.13.
|
10
12
|
|
11
|
-
Find all of the documentation in the [doing wiki]
|
13
|
+
Find all of the documentation in the [doing wiki][wiki].
|
12
14
|
|
13
|
-
See [what's new in Doing 2.0]
|
15
|
+
See [what's new in Doing 2.0][doing 2].
|
14
16
|
|
15
|
-
Check out some craziness with Doing in the [iTerm status bar]
|
17
|
+
Check out some craziness with Doing in the [iTerm status bar][status bar] and
|
18
|
+
the [Mac Touch Bar/menu bar][touch bar].
|
16
19
|
|
17
20
|
## What and why
|
18
21
|
|
19
|
-
`doing` is a basic CLI for adding and listing "what was I doing" reminders in a
|
22
|
+
`doing` is a basic CLI for adding and listing "what was I doing" reminders in a
|
23
|
+
[TaskPaper-formatted](https://www.taskpaper.com) text file. It allows for
|
24
|
+
multiple sections/categories and flexible output formatting.
|
20
25
|
|
21
|
-
While I'm working, I have hourly reminders to record what I'm working on, and I
|
26
|
+
While I'm working, I have hourly reminders to record what I'm working on, and I
|
27
|
+
try to remember to punch in quick notes if I'm unexpectedly called away from a
|
28
|
+
project. I can do this just by typing `doing now tracking down the CG bug`.
|
22
29
|
|
23
|
-
If there's something I want to look at later but doesn't need to be added to a
|
30
|
+
If there's something I want to look at later but doesn't need to be added to a
|
31
|
+
task list or tracker, I can type `doing later check out the pinboard bookmarks
|
32
|
+
from macdrifter`. When I get back to my computer --- or just need a refresher
|
33
|
+
after a distraction --- I can type `doing last` to see what the last thing on
|
34
|
+
my plate was. I can also type `doing recent` (or just `doing`) to get a list of
|
35
|
+
the last few entries. `doing today` gives me everything since midnight for the
|
36
|
+
current day, making it easy to see what I've accomplished over a sleepless
|
37
|
+
night.
|
24
38
|
|
25
|
-
Doing has over 30 commands for tracking your status, recording your time, and
|
39
|
+
Doing has over 30 commands for tracking your status, recording your time, and
|
40
|
+
analyzing the results.
|
26
41
|
|
27
|
-
See [the wiki]
|
42
|
+
See [the wiki][wiki] for installation and usage instructions.
|
28
43
|
|
29
44
|
## Launchbar/Alfred
|
30
45
|
|
31
|
-
The LaunchBar action requires that `doing` be available in
|
46
|
+
The LaunchBar action requires that `doing` be available in
|
47
|
+
`/usr/local/bin/doing`. If it's not (because you're using RVM or similar),
|
48
|
+
you'll need to symlink it there. Running the action with Return will show the
|
49
|
+
latest 9 items from Currently, along with any time intervals recorded, and
|
50
|
+
includes a submenu of Timers for each tag.
|
32
51
|
|
33
|
-
Pressing Spacebar and typing allows you to add a new entry to currently. You an
|
52
|
+
Pressing Spacebar and typing allows you to add a new entry to currently. You an
|
53
|
+
also trigger a custom show command by typing "show [section/tag]" and hitting
|
54
|
+
return. Include any command line flags at the end of the string, and if you add
|
55
|
+
text in parenthesis, it will be processed as a note on the entry.
|
34
56
|
|
35
|
-
Point of interest, the LaunchBar Action makes use of the `-o json` flag for
|
57
|
+
Point of interest, the LaunchBar Action makes use of the `-o json` flag for
|
58
|
+
outputting JSON to the action's script for parsing.
|
36
59
|
|
37
60
|
|
38
61
|
|
39
|
-
See the [doing project on BrettTerpstra.com]
|
62
|
+
See the [doing project on BrettTerpstra.com][bt doing] for the download.
|
40
63
|
|
41
64
|
|
42
65
|
|
43
66
|
|
44
|
-
Evan Lovely has
|
67
|
+
Evan Lovely has created an [Alfred workflow][] as well.
|
45
68
|
|
46
69
|
## Contributing
|
47
70
|
|
48
|
-
If you [create a plugin]
|
49
|
-
|
50
|
-
|
71
|
+
If you [create a plugin][], custom command, or hook you can share, please
|
72
|
+
[let me know][contact]. If I get a few plugin contributions, I'll set up a
|
73
|
+
second repository for them.
|
74
|
+
|
75
|
+
Feel free to fork [the repository][github] on GitHub and make pull requests
|
76
|
+
with changes. Please target the `develop` branch with pull requests.
|
77
|
+
|
78
|
+
[bt doing]: https://brettterpstra.com/projects/doing/
|
79
|
+
[donate]: http://brettterpstra.com/donate/
|
80
|
+
[github]: https://github.com/ttscoff/doing/
|
81
|
+
[wiki]: https://github.com/ttscoff/doing/wiki
|
82
|
+
[doing 2]: https://brettterpstra.com/2021/11/20/doing-2-dot-0/
|
83
|
+
[status bar]: https://brettterpstra.com/2021/10/15/see-what-youre-doing-in-the-iterm-status-bar/
|
84
|
+
[touch bar]: https://brettterpstra.com/2021/07/21/crazy-bettertouchtool-touch-bar-simulator/
|
85
|
+
[create a plugin]: https://github.com/ttscoff/doing/wiki/Creating-Plugins
|
86
|
+
[contact]: https://brettterpstra.com/contact/
|
87
|
+
[alfred workflow]: http://www.evanlovely.com/blog/technology/alfred-for-terpstras-doing/
|
51
88
|
|
52
89
|
|
53
90
|
|
data/doing.gemspec
CHANGED
@@ -40,6 +40,8 @@ spec = Gem::Specification.new do |s|
|
|
40
40
|
s.add_runtime_dependency('tty-link', '~> 0.1', '>= 0.1.1')
|
41
41
|
s.add_runtime_dependency('tty-which', '~> 0.5', '>= 0.5.0')
|
42
42
|
s.add_runtime_dependency('tty-markdown', '~> 0.7', '>= 0.7.0')
|
43
|
+
s.add_runtime_dependency('tty-reader', '~> 0.9', '>= 0.9.0')
|
44
|
+
s.add_runtime_dependency('tty-screen', '~> 0.8', '>= 0.8.1')
|
43
45
|
s.add_runtime_dependency('parslet', '~> 2.0', '>= 2.0.0')
|
44
46
|
s.add_runtime_dependency('plist', '~> 3.6', '>= 3.6.0')
|
45
47
|
# s.add_runtime_dependency('amatch', '~> 0.4', '>= 0.4.0')
|