doing 2.0.3.pre → 2.0.8.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -1
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/bin/doing +316 -114
- data/doing.rdoc +244 -19
- data/example_plugin.rb +1 -1
- data/generate_completions.sh +1 -0
- data/lib/completion/_doing.zsh +179 -127
- data/lib/completion/doing.bash +60 -27
- data/lib/completion/doing.fish +74 -23
- data/lib/doing/cli_status.rb +4 -0
- data/lib/doing/configuration.rb +2 -0
- data/lib/doing/errors.rb +22 -15
- data/lib/doing/item.rb +12 -11
- data/lib/doing/log_adapter.rb +27 -25
- data/lib/doing/plugin_manager.rb +1 -1
- data/lib/doing/plugins/export/json_export.rb +2 -2
- data/lib/doing/plugins/export/template_export.rb +1 -1
- data/lib/doing/plugins/import/calendar_import.rb +7 -1
- data/lib/doing/plugins/import/doing_import.rb +6 -6
- data/lib/doing/plugins/import/timing_import.rb +7 -1
- data/lib/doing/string.rb +9 -7
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +160 -92
- data/lib/examples/commands/autotag.rb +63 -0
- data/lib/examples/commands/wiki.rb +1 -0
- data/lib/examples/plugins/say_export.rb +1 -1
- data/lib/examples/plugins/{templates → wiki_export/templates}/wiki.css +0 -0
- data/lib/examples/plugins/{templates → wiki_export/templates}/wiki.haml +0 -0
- data/lib/examples/plugins/{templates → wiki_export/templates}/wiki_index.haml +0 -0
- data/lib/examples/plugins/{wiki_export.rb → wiki_export/wiki_export.rb} +0 -0
- data/scripts/generate_bash_completions.rb +3 -2
- data/scripts/generate_fish_completions.rb +4 -1
- data/scripts/generate_zsh_completions.rb +44 -39
- metadata +7 -7
- data/doing.fish +0 -278
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Example command that calls an existing command (tag) with
|
4
|
+
# preset options
|
5
|
+
desc 'Autotag last entry or filtered entries'
|
6
|
+
command :autotag do |c|
|
7
|
+
# Preserve some switches and flags. Values will be passed
|
8
|
+
# to tag command.
|
9
|
+
c.desc 'Section'
|
10
|
+
c.arg_name 'SECTION_NAME'
|
11
|
+
c.flag %i[s section], default_value: 'All'
|
12
|
+
|
13
|
+
c.desc 'How many recent entries to autotag (0 for all)'
|
14
|
+
c.arg_name 'COUNT'
|
15
|
+
c.flag %i[c count], default_value: 1, must_match: /^\d+$/, type: Integer
|
16
|
+
|
17
|
+
c.desc 'Don\'t ask permission to autotag all entries when count is 0'
|
18
|
+
c.switch %i[force], negatable: false, default_value: false
|
19
|
+
|
20
|
+
c.desc 'Autotag last entry (or entries) not marked @done'
|
21
|
+
c.switch %i[u unfinished], negatable: false, default_value: false
|
22
|
+
|
23
|
+
c.desc 'Autotag the last X entries containing TAG.
|
24
|
+
Separate multiple tags with comma (--tag=tag1,tag2), combine with --bool'
|
25
|
+
c.arg_name 'TAG'
|
26
|
+
c.flag [:tag]
|
27
|
+
|
28
|
+
c.desc 'Autotag entries matching search filter,
|
29
|
+
surround with slashes for regex (e.g. "/query.*/"),
|
30
|
+
start with single quote for exact match ("\'query")'
|
31
|
+
c.arg_name 'QUERY'
|
32
|
+
c.flag [:search]
|
33
|
+
|
34
|
+
c.desc 'Boolean (AND|OR|NOT) with which to combine multiple tag filters'
|
35
|
+
c.arg_name 'BOOLEAN'
|
36
|
+
c.flag [:bool], must_match: REGEX_BOOL, default_value: 'AND'
|
37
|
+
|
38
|
+
c.desc 'Select item(s) to tag from a menu of matching entries'
|
39
|
+
c.switch %i[i interactive], negatable: false, default_value: false
|
40
|
+
|
41
|
+
c.action do |global, options, _args|
|
42
|
+
# Force some switches and flags. We're using the tag
|
43
|
+
# command with settings that would invoke autotagging.
|
44
|
+
|
45
|
+
# Force enable autotag
|
46
|
+
options[:a] = true
|
47
|
+
options[:autotag] = true
|
48
|
+
|
49
|
+
# No need for date values
|
50
|
+
options[:d] = false
|
51
|
+
options[:date] = false
|
52
|
+
|
53
|
+
# Don't remove any tags
|
54
|
+
options[:rename] = nil
|
55
|
+
options[:regex] = false
|
56
|
+
options[:r] = false
|
57
|
+
options[:remove] = false
|
58
|
+
|
59
|
+
cmd = commands[:tag]
|
60
|
+
action = cmd.send(:get_action, nil)
|
61
|
+
action.call(global, options, [])
|
62
|
+
end
|
63
|
+
end
|
@@ -149,7 +149,7 @@ module Doing
|
|
149
149
|
finished_at = i.end_date
|
150
150
|
took += finished_at.strftime('%A %B %e at %I:%M%p')
|
151
151
|
|
152
|
-
d, h, m = wwid.
|
152
|
+
d, h, m = wwid.format_time(interval)
|
153
153
|
took += ' and it took'
|
154
154
|
took += " #{d.to_i} days" if d.to_i.positive?
|
155
155
|
took += " #{h.to_i} hours" if h.to_i.positive?
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -82,7 +82,7 @@ class BashCompletions
|
|
82
82
|
fi
|
83
83
|
}
|
84
84
|
EOFUNC
|
85
|
-
|
85
|
+
clear
|
86
86
|
out.join("\n")
|
87
87
|
end
|
88
88
|
|
@@ -151,7 +151,7 @@ class BashCompletions
|
|
151
151
|
|
152
152
|
|
153
153
|
def get_help_sections(command = '')
|
154
|
-
res = `
|
154
|
+
res = `doing help #{command}`.strip
|
155
155
|
scanned = res.scan(/(?m-i)^([A-Z ]+)\n([\s\S]*?)(?=\n+[A-Z]+|\Z)/)
|
156
156
|
sections = {}
|
157
157
|
scanned.each do |sect|
|
@@ -203,6 +203,7 @@ class BashCompletions
|
|
203
203
|
out = []
|
204
204
|
out << main_function
|
205
205
|
out << 'complete -F _doing doing'
|
206
|
+
status('Complete', reset: false)
|
206
207
|
out.join("\n")
|
207
208
|
end
|
208
209
|
end
|
@@ -86,11 +86,12 @@ class FishCompletions
|
|
86
86
|
complete -f -c doing -n '__fish_doing_using_command template' -a '(__fish_doing_complete_templates)'
|
87
87
|
complete -f -c doing -s t -l type -x -n '__fish_doing_using_command import' -a '(__fish_doing_import_plugins)'
|
88
88
|
|
89
|
+
complete -xc doing -n '__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from (doing help -c)' -a "(doing help -c)"
|
89
90
|
EOFUNCTIONS
|
90
91
|
end
|
91
92
|
|
92
93
|
def get_help_sections(command = '')
|
93
|
-
res = `
|
94
|
+
res = `doing help #{command}`.strip
|
94
95
|
scanned = res.scan(/(?m-i)^([A-Z ]+)\n([\s\S]*?)(?=\n+[A-Z]+|\Z)/)
|
95
96
|
sections = {}
|
96
97
|
scanned.each do |sect|
|
@@ -179,6 +180,7 @@ class FishCompletions
|
|
179
180
|
out << "complete -f -c doing -s o -l output -x -n '__fish_doing_using_command #{need_export.join(' ')}' -a '(__fish_doing_export_plugins)'"
|
180
181
|
end
|
181
182
|
|
183
|
+
clear
|
182
184
|
out.join("\n")
|
183
185
|
end
|
184
186
|
|
@@ -194,6 +196,7 @@ class FishCompletions
|
|
194
196
|
out << generate_helpers
|
195
197
|
out << generate_subcommand_completions
|
196
198
|
out << generate_subcommand_option_completions
|
199
|
+
status('Complete', reset: false)
|
197
200
|
out.join("\n")
|
198
201
|
end
|
199
202
|
end
|
@@ -22,44 +22,47 @@ class ::String
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
class
|
25
|
+
class ZshCompletions
|
26
26
|
include Status
|
27
27
|
|
28
28
|
attr_accessor :commands, :global_options
|
29
29
|
|
30
30
|
def generate_helpers
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
31
|
+
out=<<~EOFUNCTIONS
|
32
|
+
compdef _doing doing
|
33
|
+
|
34
|
+
function _doing() {
|
35
|
+
local line state
|
36
|
+
|
37
|
+
function _commands {
|
38
|
+
local -a commands
|
39
|
+
|
40
|
+
commands=(
|
41
|
+
#{generate_subcommand_completions.join("\n ")}
|
42
|
+
)
|
43
|
+
_describe 'command' commands
|
44
|
+
}
|
45
|
+
|
46
|
+
_arguments -C \
|
47
|
+
"1: :_commands" \
|
48
|
+
"*::arg:->args"
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
case $line[1] in
|
53
|
+
#{generate_subcommand_option_completions(indent: ' ').join("\n ")}
|
54
|
+
esac
|
55
|
+
|
56
|
+
_arguments -s $args
|
57
|
+
}
|
58
|
+
|
58
59
|
EOFUNCTIONS
|
60
|
+
status('Complete', reset: false)
|
61
|
+
out
|
59
62
|
end
|
60
63
|
|
61
64
|
def get_help_sections(command = '')
|
62
|
-
res = `
|
65
|
+
res = `doing help #{command}`.strip
|
63
66
|
scanned = res.scan(/(?m-i)^([A-Z ]+)\n([\s\S]*?)(?=\n+[A-Z]+|\Z)/)
|
64
67
|
sections = {}
|
65
68
|
scanned.each do |sect|
|
@@ -73,6 +76,7 @@ class FishCompletions
|
|
73
76
|
def parse_option(option)
|
74
77
|
res = option.match(/(?:-(?<short>\w), )?(?:--(?:\[no-\])?(?<long>[\w_]+)(?:=(?<arg>\w+))?)\s+- (?<desc>.*?)$/)
|
75
78
|
return nil unless res
|
79
|
+
|
76
80
|
{
|
77
81
|
short: res['short'],
|
78
82
|
long: res['long'],
|
@@ -108,17 +112,16 @@ class FishCompletions
|
|
108
112
|
processing = cmd[:commands]
|
109
113
|
progress('Processing subcommands', i, @commands.count, processing)
|
110
114
|
cmd[:commands].each do |c|
|
111
|
-
out << "'#{c}:#{cmd[:description].gsub(/'/,'\\\'')}'"
|
115
|
+
out << "'#{c}:#{cmd[:description].gsub(/'/, '\\\'')}'"
|
112
116
|
end
|
113
117
|
end
|
114
|
-
|
118
|
+
clear
|
115
119
|
out
|
116
120
|
end
|
117
121
|
|
118
122
|
def generate_subcommand_option_completions(indent: ' ')
|
119
123
|
|
120
124
|
out = []
|
121
|
-
need_export = []
|
122
125
|
# processing = []
|
123
126
|
|
124
127
|
@commands.each_with_index do |cmd, i|
|
@@ -133,16 +136,18 @@ class FishCompletions
|
|
133
136
|
parse_options(data[:command_options]).each do |option|
|
134
137
|
next if option.nil?
|
135
138
|
|
136
|
-
arg = option[:arg] ? '
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
139
|
+
arg = option[:arg] ? '=' : ''
|
140
|
+
|
141
|
+
option_arr << if option[:short]
|
142
|
+
%({-#{option[:short]},--#{option[:long]}#{arg}}"[#{option[:description].gsub(/'/, '\\\'')}]")
|
143
|
+
else
|
144
|
+
%("(--#{option[:long]}#{arg})--#{option[:long]}#{arg}}[#{option[:description].gsub(/'/, '\\\'')}]")
|
145
|
+
end
|
141
146
|
end
|
142
147
|
end
|
143
148
|
|
144
149
|
cmd[:commands].each do |c|
|
145
|
-
out << "#{c}) \n#{indent
|
150
|
+
out << "#{c}) \n#{indent} args=( #{option_arr.join(' ')} )\n#{indent};;"
|
146
151
|
end
|
147
152
|
end
|
148
153
|
|
@@ -161,4 +166,4 @@ class FishCompletions
|
|
161
166
|
end
|
162
167
|
end
|
163
168
|
|
164
|
-
puts
|
169
|
+
puts ZshCompletions.new.generate_completions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: safe_yaml
|
@@ -186,7 +186,6 @@ files:
|
|
186
186
|
- Rakefile
|
187
187
|
- _config.yml
|
188
188
|
- bin/doing
|
189
|
-
- doing.fish
|
190
189
|
- doing.gemspec
|
191
190
|
- doing.rdoc
|
192
191
|
- example_plugin.rb
|
@@ -228,13 +227,14 @@ files:
|
|
228
227
|
- lib/doing/version.rb
|
229
228
|
- lib/doing/wwid.rb
|
230
229
|
- lib/doing/wwidfile.rb
|
230
|
+
- lib/examples/commands/autotag.rb
|
231
231
|
- lib/examples/commands/wiki.rb
|
232
232
|
- lib/examples/plugins/hooks.rb
|
233
233
|
- lib/examples/plugins/say_export.rb
|
234
|
-
- lib/examples/plugins/templates/wiki.css
|
235
|
-
- lib/examples/plugins/templates/wiki.haml
|
236
|
-
- lib/examples/plugins/templates/wiki_index.haml
|
237
|
-
- lib/examples/plugins/wiki_export.rb
|
234
|
+
- lib/examples/plugins/wiki_export/templates/wiki.css
|
235
|
+
- lib/examples/plugins/wiki_export/templates/wiki.haml
|
236
|
+
- lib/examples/plugins/wiki_export/templates/wiki_index.haml
|
237
|
+
- lib/examples/plugins/wiki_export/wiki_export.rb
|
238
238
|
- lib/helpers/fuzzyfilefinder
|
239
239
|
- lib/templates/doing-markdown.erb
|
240
240
|
- lib/templates/doing.css
|
data/doing.fish
DELETED
@@ -1,278 +0,0 @@
|
|
1
|
-
function __fish_doing_needs_command
|
2
|
-
# Figure out if the current invocation already has a command.
|
3
|
-
|
4
|
-
set -l opts h-help config_file= f-doing_file= n-notes v-version stdout d-debug default x-noauto
|
5
|
-
set cmd (commandline -opc)
|
6
|
-
set -e cmd[1]
|
7
|
-
argparse -s $opts -- $cmd 2>/dev/null
|
8
|
-
or return 0
|
9
|
-
# These flags function as commands, effectively.
|
10
|
-
if set -q argv[1]
|
11
|
-
# Also print the command, so this can be used to figure out what it is.
|
12
|
-
echo $argv[1]
|
13
|
-
return 1
|
14
|
-
end
|
15
|
-
return 0
|
16
|
-
end
|
17
|
-
|
18
|
-
function __fish_doing_using_command
|
19
|
-
set -l cmd (__fish_doing_needs_command)
|
20
|
-
test -z "$cmd"
|
21
|
-
and return 1
|
22
|
-
contains -- $cmd $argv
|
23
|
-
and return 0
|
24
|
-
end
|
25
|
-
|
26
|
-
function __fish_doing_complete_sections
|
27
|
-
doing sections -c
|
28
|
-
end
|
29
|
-
|
30
|
-
function __fish_doing_complete_views
|
31
|
-
doing views -c
|
32
|
-
end
|
33
|
-
|
34
|
-
function __fish_doing_subcommands
|
35
|
-
doing help -c
|
36
|
-
end
|
37
|
-
|
38
|
-
function __fish_doing_export_plugins
|
39
|
-
doing plugins --type export -c
|
40
|
-
end
|
41
|
-
|
42
|
-
function __fish_doing_import_plugins
|
43
|
-
doing plugins --type import -c
|
44
|
-
end
|
45
|
-
|
46
|
-
function __fish_doing_complete_templates
|
47
|
-
doing template -c
|
48
|
-
end
|
49
|
-
|
50
|
-
complete -c doing -f
|
51
|
-
complete -xc doing -n '__fish_doing_needs_command' -a '(__fish_doing_subcommands)'
|
52
|
-
|
53
|
-
complete -f -c doing -n '__fish_doing_using_command show' -a '(__fish_doing_complete_sections)'
|
54
|
-
complete -f -c doing -n '__fish_doing_using_command view' -a '(__fish_doing_complete_views)'
|
55
|
-
complete -f -c doing -n '__fish_doing_using_command template' -a '(__fish_doing_complete_templates)'
|
56
|
-
complete -f -c doing -s t -l type -x -n '__fish_doing_using_command import' -a '(__fish_doing_import_plugins)'
|
57
|
-
|
58
|
-
|
59
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'add_section' -d Add\ a\ new\ section\ to\ the\ \"doing\"\ file
|
60
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'again resume' -d Repeat\ last\ entry\ as\ new\ entry
|
61
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'archive' -d Move\ entries\ between\ sections
|
62
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'cancel' -d End\ last\ X\ entries\ with\ no\ time\ tracked
|
63
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'choose' -d Select\ a\ section\ to\ display\ from\ a\ menu
|
64
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'colors' -d List\ available\ color\ variables\ for\ configuration\ templates\ and\ views
|
65
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'config' -d Edit\ the\ configuration\ file
|
66
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'done did' -d Add\ a\ completed\ item\ with\ @done\(date\)
|
67
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'finish' -d Mark\ last\ X\ entries\ as\ @done
|
68
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'grep search' -d Search\ for\ entries
|
69
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'help' -d Shows\ a\ list\ of\ commands\ or\ help\ for\ one\ command
|
70
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'import' -d Import\ entries\ from\ an\ external\ source
|
71
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'last' -d Show\ the\ last\ entry
|
72
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'later' -d Add\ an\ item\ to\ the\ Later\ section
|
73
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'mark flag' -d Mark\ last\ entry\ as\ highlighted
|
74
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'meanwhile' -d Finish\ any\ running\ @meanwhile\ tasks\ and\ optionally\ create\ a\ new\ one
|
75
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'note' -d Add\ a\ note\ to\ the\ last\ entry
|
76
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'now next' -d Add\ an\ entry
|
77
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'on' -d List\ entries\ for\ a\ date
|
78
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'open' -d Open\ the\ \"doing\"\ file\ in\ an\ editor
|
79
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'plugins' -d List\ installed\ plugins
|
80
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'recent' -d List\ recent\ entries
|
81
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'rotate' -d Move\ entries\ to\ archive\ file
|
82
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'sections' -d List\ sections
|
83
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'select' -d Display\ an\ interactive\ menu\ to\ perform\ operations
|
84
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'show' -d List\ all\ entries
|
85
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'since' -d List\ entries\ since\ a\ date
|
86
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'tag' -d Add\ tag\(s\)\ to\ last\ entry
|
87
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'template' -d Output\ HTML
|
88
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'today' -d List\ entries\ from\ today
|
89
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'undo' -d Undo\ the\ last\ change\ to\ the\ doing_file
|
90
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'view' -d Display\ a\ user-created\ view
|
91
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'views' -d List\ available\ custom\ views
|
92
|
-
complete -xc doing -n '__fish_doing_needs_command' -a 'yesterday' -d List\ entries\ from\ yesterday
|
93
|
-
complete -c doing -l bool -f -r -n '__fish_doing_using_command again resume' -d Boolean\ used\ to\ combine\ multiple\ tags
|
94
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command again resume' -d Edit\ duplicated\ entry\ with\ /Users/ttscoff/scripts/editor
|
95
|
-
complete -c doing -l in -f -r -n '__fish_doing_using_command again resume' -d Add\ new\ entry\ to\ section
|
96
|
-
complete -c doing -l note -s n -f -r -n '__fish_doing_using_command again resume' -d Note
|
97
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command again resume' -d Get\ last\ entry\ from\ a\ specific\ section
|
98
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command again resume' -d Repeat\ last\ entry\ matching\ search
|
99
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command again resume' -d Repeat\ last\ entry\ matching\ tags
|
100
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command archive' -d Archive\ entries\ older\ than\ date
|
101
|
-
complete -c doing -l bool -f -r -n '__fish_doing_using_command archive' -d Tag\ boolean
|
102
|
-
complete -c doing -l keep -s k -f -r -n '__fish_doing_using_command archive' -d How\ many\ items\ to\ keep
|
103
|
-
complete -c doing -l label -f -n '__fish_doing_using_command archive' -d Label\ moved\ items\ with\ @from\(SECTION_NAME\)
|
104
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command archive' -d Search\ filter
|
105
|
-
complete -c doing -l to -s t -f -r -n '__fish_doing_using_command archive' -d Move\ entries\ to
|
106
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command archive' -d Tag\ filter
|
107
|
-
complete -c doing -l archive -s a -f -n '__fish_doing_using_command cancel' -d Archive\ entries
|
108
|
-
complete -c doing -l bool -f -r -n '__fish_doing_using_command cancel' -d Boolean
|
109
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command cancel' -d Section
|
110
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command cancel' -d Cancel\ the\ last\ X\ entries\ containing\ TAG
|
111
|
-
complete -c doing -l unfinished -s u -f -n '__fish_doing_using_command cancel' -d Cancel\ last\ entry
|
112
|
-
complete -c doing -l editor -s e -f -r -n '__fish_doing_using_command config' -d Editor\ to\ use
|
113
|
-
complete -c doing -l update -s u -f -n '__fish_doing_using_command config' -d Update\ config\ file\ with\ missing\ configuration\ options
|
114
|
-
complete -c doing -l archive -s a -f -n '__fish_doing_using_command done did' -d Immediately\ archive\ the\ entry
|
115
|
-
complete -c doing -l at -f -r -n '__fish_doing_using_command done did' -d Set\ finish\ date\ to\ specific\ date/time
|
116
|
-
complete -c doing -l back -s b -f -r -n '__fish_doing_using_command done did' -d Backdate\ start\ date\ by\ interval\ \[4pm\|20m\|2h\|yesterday\ noon\]
|
117
|
-
complete -c doing -l date -f -n '__fish_doing_using_command done did' -d Include\ date
|
118
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command done did' -d Edit\ entry\ with\ /Users/ttscoff/scripts/editor
|
119
|
-
complete -c doing -l remove -s r -f -n '__fish_doing_using_command done did' -d Remove\ @done\ tag
|
120
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command done did' -d Section
|
121
|
-
complete -c doing -l took -s t -f -r -n '__fish_doing_using_command done did' -d Set\ completion\ date\ to\ start\ date\ plus\ interval
|
122
|
-
complete -c doing -l archive -s a -f -n '__fish_doing_using_command finish' -d Archive\ entries
|
123
|
-
complete -c doing -l at -f -r -n '__fish_doing_using_command finish' -d Set\ finish\ date\ to\ specific\ date/time
|
124
|
-
complete -c doing -l auto -f -n '__fish_doing_using_command finish' -d Auto-generate\ finish\ dates\ from\ next\ entry\'s\ start\ time
|
125
|
-
complete -c doing -l back -s b -f -r -n '__fish_doing_using_command finish' -d Backdate\ completed\ date\ to\ date\ string\ \[4pm\|20m\|2h\|yesterday\ noon\]
|
126
|
-
complete -c doing -l bool -f -r -n '__fish_doing_using_command finish' -d Boolean
|
127
|
-
complete -c doing -l date -f -n '__fish_doing_using_command finish' -d Include\ date
|
128
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command finish' -d Section
|
129
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command finish' -d Finish\ the\ last\ X\ entries\ matching\ search\ filter
|
130
|
-
complete -c doing -l took -s t -f -r -n '__fish_doing_using_command finish' -d Set\ the\ completed\ date\ to\ the\ start\ date\ plus\ XX\[hmd\]
|
131
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command finish' -d Finish\ the\ last\ X\ entries\ containing\ TAG
|
132
|
-
complete -c doing -l unfinished -s u -f -n '__fish_doing_using_command finish' -d Finish\ last\ entry
|
133
|
-
complete -c doing -l after -f -r -n '__fish_doing_using_command grep search' -d Constrain\ search\ to\ entries\ newer\ than\ date
|
134
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command grep search' -d Constrain\ search\ to\ entries\ older\ than\ date
|
135
|
-
complete -c doing -l interactive -s i -f -n '__fish_doing_using_command grep search' -d Display\ an\ interactive\ menu\ of\ results\ to\ perform\ further\ operations
|
136
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command grep search' -d Output\ to\ export\ format
|
137
|
-
complete -c doing -l only_timed -f -n '__fish_doing_using_command grep search' -d Only\ show\ items\ with\ recorded\ time\ intervals
|
138
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command grep search' -d Section
|
139
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command grep search' -d Show\ time\ intervals\ on\ @done\ tasks
|
140
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command grep search' -d Sort\ tags\ by
|
141
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command grep search' -d Show\ intervals\ with\ totals\ at\ the\ end\ of\ output
|
142
|
-
complete -c doing -F -n '__fish_doing_using_command import'
|
143
|
-
complete -c doing -l after -f -r -n '__fish_doing_using_command import' -d Import\ entries\ newer\ than\ date
|
144
|
-
complete -c doing -l autotag -f -n '__fish_doing_using_command import' -d Autotag\ entries
|
145
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command import' -d Import\ entries\ older\ than\ date
|
146
|
-
complete -c doing -l from -s f -f -r -n '__fish_doing_using_command import' -d Date\ range\ to\ import
|
147
|
-
complete -c doing -l only_timed -f -n '__fish_doing_using_command import' -d Only\ import\ items\ with\ recorded\ time\ intervals
|
148
|
-
complete -c doing -l overlap -f -n '__fish_doing_using_command import' -d Allow\ entries\ that\ overlap\ existing\ times
|
149
|
-
complete -c doing -l prefix -f -r -n '__fish_doing_using_command import' -d Prefix\ entries\ with
|
150
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command import' -d Target\ section
|
151
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command import' -d Only\ import\ items\ matching\ search
|
152
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command import' -d Tag\ all\ imported\ entries
|
153
|
-
complete -c doing -l type -f -r -n '__fish_doing_using_command import' -d Import\ type
|
154
|
-
complete -c doing -l bool -f -r -n '__fish_doing_using_command last' -d Tag\ boolean
|
155
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command last' -d Edit\ entry\ with\ /Users/ttscoff/scripts/editor
|
156
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command last' -d Specify\ a\ section
|
157
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command last' -d Search\ filter
|
158
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command last' -d Tag\ filter
|
159
|
-
complete -c doing -l back -s b -f -r -n '__fish_doing_using_command later' -d Backdate\ start\ time\ to\ date\ string\ \[4pm\|20m\|2h\|yesterday\ noon\]
|
160
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command later' -d Edit\ entry\ with\ /Users/ttscoff/scripts/editor
|
161
|
-
complete -c doing -l note -s n -f -r -n '__fish_doing_using_command later' -d Note
|
162
|
-
complete -c doing -l remove -s r -f -n '__fish_doing_using_command mark flag' -d Remove\ mark
|
163
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command mark flag' -d Section
|
164
|
-
complete -c doing -l unfinished -s u -f -n '__fish_doing_using_command mark flag' -d Mark\ last\ entry\ not\ marked\ @done
|
165
|
-
complete -c doing -l archive -s a -f -n '__fish_doing_using_command meanwhile' -d Archive\ previous\ @meanwhile\ entry
|
166
|
-
complete -c doing -l back -s b -f -r -n '__fish_doing_using_command meanwhile' -d Backdate\ start\ date\ for\ new\ entry\ to\ date\ string\ \[4pm\|20m\|2h\|yesterday\ noon\]
|
167
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command meanwhile' -d Edit\ entry\ with\ /Users/ttscoff/scripts/editor
|
168
|
-
complete -c doing -l note -s n -f -r -n '__fish_doing_using_command meanwhile' -d Note
|
169
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command meanwhile' -d Section
|
170
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command note' -d Edit\ entry\ with\ /Users/ttscoff/scripts/editor
|
171
|
-
complete -c doing -l remove -s r -f -n '__fish_doing_using_command note' -d Replace/Remove\ last\ entry\'s\ note
|
172
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command note' -d Section
|
173
|
-
complete -c doing -l back -s b -f -r -n '__fish_doing_using_command now next' -d Backdate\ start\ time\ \[4pm\|20m\|2h\|yesterday\ noon\]
|
174
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command now next' -d Edit\ entry\ with\ /Users/ttscoff/scripts/editor
|
175
|
-
complete -c doing -l finish_last -s f -f -n '__fish_doing_using_command now next' -d Timed\ entry
|
176
|
-
complete -c doing -l note -s n -f -r -n '__fish_doing_using_command now next' -d Note
|
177
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command now next' -d Section
|
178
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command on' -d Output\ to\ export\ format
|
179
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command on' -d Section
|
180
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command on' -d Show\ time\ intervals\ on\ @done\ tasks
|
181
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command on' -d Sort\ tags\ by
|
182
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command on' -d Show\ time\ totals\ at\ the\ end\ of\ output
|
183
|
-
complete -c doing -l app -s a -f -r -n '__fish_doing_using_command open' -d Open\ with\ app\ name
|
184
|
-
complete -c doing -l bundle_id -s b -f -r -n '__fish_doing_using_command open' -d Open\ with\ app\ bundle\ id
|
185
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command open' -d Open\ with\ \$EDITOR
|
186
|
-
complete -c doing -l column -s c -f -n '__fish_doing_using_command plugins' -d List\ in\ single\ column\ for\ completion
|
187
|
-
complete -c doing -l type -s t -f -r -n '__fish_doing_using_command plugins' -d List\ plugins\ of\ type
|
188
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command recent' -d Section
|
189
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command recent' -d Show\ time\ intervals\ on\ @done\ tasks
|
190
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command recent' -d Sort\ tags\ by
|
191
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command recent' -d Show\ intervals\ with\ totals\ at\ the\ end\ of\ output
|
192
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command rotate' -d Rotate\ entries\ older\ than\ date
|
193
|
-
complete -c doing -l bool -f -r -n '__fish_doing_using_command rotate' -d Tag\ boolean
|
194
|
-
complete -c doing -l keep -s k -f -r -n '__fish_doing_using_command rotate' -d How\ many\ items\ to\ keep\ in\ each\ section
|
195
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command rotate' -d Section\ to\ rotate
|
196
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command rotate' -d Search\ filter
|
197
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command rotate' -d Tag\ filter
|
198
|
-
complete -c doing -l column -s c -f -n '__fish_doing_using_command sections' -d List\ in\ single\ column
|
199
|
-
complete -c doing -l archive -s a -f -n '__fish_doing_using_command select' -d Archive\ selected\ items
|
200
|
-
complete -c doing -l cancel -s c -f -n '__fish_doing_using_command select' -d Cancel\ selected\ items
|
201
|
-
complete -c doing -l delete -s d -f -n '__fish_doing_using_command select' -d Delete\ selected\ items
|
202
|
-
complete -c doing -l editor -s e -f -n '__fish_doing_using_command select' -d Edit\ selected\ item\(s\)
|
203
|
-
complete -c doing -l finish -s f -f -n '__fish_doing_using_command select' -d Add\ @done\ with\ current\ time\ to\ selected\ item\(s\)
|
204
|
-
complete -c doing -l flag -f -n '__fish_doing_using_command select' -d Add\ flag\ to\ selected\ item\(s\)
|
205
|
-
complete -c doing -l force -f -n '__fish_doing_using_command select' -d Perform\ action\ without\ confirmation
|
206
|
-
complete -c doing -l move -s m -f -r -n '__fish_doing_using_command select' -d Move\ selected\ items\ to\ section
|
207
|
-
complete -c doing -l menu -f -n '__fish_doing_using_command select' -d Use\ --no-menu\ to\ skip\ the\ interactive\ menu
|
208
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command select' -d Output\ entries\ to\ format
|
209
|
-
complete -c doing -l query -s q -f -r -n '__fish_doing_using_command select' -d Initial\ search\ query\ for\ filtering
|
210
|
-
complete -c doing -l remove -s r -f -n '__fish_doing_using_command select' -d Reverse\ -c
|
211
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command select' -d Select\ from\ a\ specific\ section
|
212
|
-
complete -c doing -l save_to -f -r -n '__fish_doing_using_command select' -d Save\ selected\ entries\ to\ file\ using\ --output\ format
|
213
|
-
complete -c doing -l tag -s t -f -r -n '__fish_doing_using_command select' -d Tag\ selected\ entries
|
214
|
-
complete -c doing -l age -s a -f -r -n '__fish_doing_using_command show' -d Age
|
215
|
-
complete -c doing -l after -f -r -n '__fish_doing_using_command show' -d View\ entries\ newer\ than\ date
|
216
|
-
complete -c doing -l bool -s b -f -r -n '__fish_doing_using_command show' -d Tag\ boolean
|
217
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command show' -d View\ entries\ older\ than\ date
|
218
|
-
complete -c doing -l count -s c -f -r -n '__fish_doing_using_command show' -d Max\ count\ to\ show
|
219
|
-
complete -c doing -l from -s f -f -r -n '__fish_doing_using_command show' -d Date\ range\ to\ show
|
220
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command show' -d Output\ to\ export\ format
|
221
|
-
complete -c doing -l only_timed -f -n '__fish_doing_using_command show' -d Only\ show\ items\ with\ recorded\ time\ intervals
|
222
|
-
complete -c doing -l sort -s s -f -r -n '__fish_doing_using_command show' -d Sort\ order
|
223
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command show' -d Search\ filter
|
224
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command show' -d Show\ time\ intervals\ on\ @done\ tasks
|
225
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command show' -d Tag\ filter
|
226
|
-
complete -c doing -l tag_order -f -r -n '__fish_doing_using_command show' -d Tag\ sort\ direction
|
227
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command show' -d Sort\ tags\ by
|
228
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command show' -d Show\ intervals\ with\ totals\ at\ the\ end\ of\ output
|
229
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command since' -d Output\ to\ export\ format
|
230
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command since' -d Section
|
231
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command since' -d Show\ time\ intervals\ on\ @done\ tasks
|
232
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command since' -d Sort\ tags\ by
|
233
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command since' -d Show\ time\ totals\ at\ the\ end\ of\ output
|
234
|
-
complete -c doing -l autotag -s a -f -n '__fish_doing_using_command tag' -d Autotag\ entries\ based\ on\ autotag\ configuration\ in\ \~/
|
235
|
-
complete -c doing -l bool -f -r -n '__fish_doing_using_command tag' -d Boolean
|
236
|
-
complete -c doing -l count -s c -f -r -n '__fish_doing_using_command tag' -d How\ many\ recent\ entries\ to\ tag
|
237
|
-
complete -c doing -l date -s d -f -n '__fish_doing_using_command tag' -d Include\ current\ date/time\ with\ tag
|
238
|
-
complete -c doing -l force -f -n '__fish_doing_using_command tag' -d Don\'t\ ask\ permission\ to\ tag\ all\ entries\ when\ count\ is\ 0
|
239
|
-
complete -c doing -l remove -s r -f -n '__fish_doing_using_command tag' -d Remove\ given\ tag\(s\)
|
240
|
-
complete -c doing -l regex -f -n '__fish_doing_using_command tag' -d Interpret\ tag\ string\ as\ regular\ expression
|
241
|
-
complete -c doing -l rename -f -r -n '__fish_doing_using_command tag' -d Replace\ existing\ tag\ with\ tag\ argument
|
242
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command tag' -d Section
|
243
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command tag' -d Tag\ entries\ matching\ search\ filter
|
244
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command tag' -d Tag\ the\ last\ X\ entries\ containing\ TAG
|
245
|
-
complete -c doing -l unfinished -s u -f -n '__fish_doing_using_command tag' -d Tag\ last\ entry
|
246
|
-
complete -c doing -l list -s l -f -n '__fish_doing_using_command template' -d List\ all\ available\ templates
|
247
|
-
complete -c doing -l after -f -r -n '__fish_doing_using_command today' -d View\ entries\ after\ specified\ time
|
248
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command today' -d View\ entries\ before\ specified\ time
|
249
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command today' -d Output\ to\ export\ format
|
250
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command today' -d Specify\ a\ section
|
251
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command today' -d Show\ time\ intervals\ on\ @done\ tasks
|
252
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command today' -d Sort\ tags\ by
|
253
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command today' -d Show\ time\ totals\ at\ the\ end\ of\ output
|
254
|
-
complete -c doing -l file -s f -f -r -n '__fish_doing_using_command undo' -d Specify\ alternate\ doing\ file
|
255
|
-
complete -c doing -l after -f -r -n '__fish_doing_using_command view' -d View\ entries\ newer\ than\ date
|
256
|
-
complete -c doing -l bool -s b -f -r -n '__fish_doing_using_command view' -d Tag\ boolean
|
257
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command view' -d View\ entries\ older\ than\ date
|
258
|
-
complete -c doing -l count -s c -f -r -n '__fish_doing_using_command view' -d Count\ to\ display
|
259
|
-
complete -c doing -l color -f -n '__fish_doing_using_command view' -d Include\ colors\ in\ output
|
260
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command view' -d Output\ to\ export\ format
|
261
|
-
complete -c doing -l only_timed -f -n '__fish_doing_using_command view' -d Only\ show\ items\ with\ recorded\ time\ intervals
|
262
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command view' -d Section
|
263
|
-
complete -c doing -l search -f -r -n '__fish_doing_using_command view' -d Search\ filter
|
264
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command view' -d Show\ time\ intervals\ on\ @done\ tasks
|
265
|
-
complete -c doing -l tag -f -r -n '__fish_doing_using_command view' -d Tag\ filter
|
266
|
-
complete -c doing -l tag_order -f -r -n '__fish_doing_using_command view' -d Tag\ sort\ direction
|
267
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command view' -d Sort\ tags\ by
|
268
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command view' -d Show\ intervals\ with\ totals\ at\ the\ end\ of\ output
|
269
|
-
complete -c doing -l column -s c -f -n '__fish_doing_using_command views' -d List\ in\ single\ column
|
270
|
-
complete -c doing -l after -f -r -n '__fish_doing_using_command yesterday' -d View\ entries\ after\ specified\ time
|
271
|
-
complete -c doing -l before -f -r -n '__fish_doing_using_command yesterday' -d View\ entries\ before\ specified\ time
|
272
|
-
complete -c doing -l output -s o -f -r -n '__fish_doing_using_command yesterday' -d Output\ to\ export\ format
|
273
|
-
complete -c doing -l section -s s -f -r -n '__fish_doing_using_command yesterday' -d Specify\ a\ section
|
274
|
-
complete -c doing -l times -s t -f -n '__fish_doing_using_command yesterday' -d Show\ time\ intervals\ on\ @done\ tasks
|
275
|
-
complete -c doing -l tag_order -f -r -n '__fish_doing_using_command yesterday' -d Tag\ sort\ direction
|
276
|
-
complete -c doing -l tag_sort -f -r -n '__fish_doing_using_command yesterday' -d Sort\ tags\ by
|
277
|
-
complete -c doing -l totals -f -n '__fish_doing_using_command yesterday' -d Show\ time\ totals\ at\ the\ end\ of\ output
|
278
|
-
complete -f -c doing -s o -l output -x -n '__fish_doing_using_command grep search on select show since today view yesterday' -a '(__fish_doing_export_plugins)'
|