doing 2.0.5.pre → 2.0.6.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 +20 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/bin/doing +133 -98
- data/doing.rdoc +88 -8
- 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/errors.rb +22 -15
- data/lib/doing/log_adapter.rb +27 -25
- data/lib/doing/plugin_manager.rb +1 -1
- data/lib/doing/string.rb +7 -6
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +83 -76
- data/lib/examples/commands/autotag.rb +63 -0
- data/scripts/generate_bash_completions.rb +3 -2
- data/scripts/generate_fish_completions.rb +4 -1
- data/scripts/generate_zsh_completions.rb +42 -38
- metadata +2 -2
- data/doing.fish +0 -278
@@ -22,44 +22,45 @@ 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
31
|
<<~EOFUNCTIONS
|
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
|
-
|
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
|
59
60
|
end
|
60
61
|
|
61
62
|
def get_help_sections(command = '')
|
62
|
-
res = `
|
63
|
+
res = `doing help #{command}`.strip
|
63
64
|
scanned = res.scan(/(?m-i)^([A-Z ]+)\n([\s\S]*?)(?=\n+[A-Z]+|\Z)/)
|
64
65
|
sections = {}
|
65
66
|
scanned.each do |sect|
|
@@ -73,6 +74,7 @@ class FishCompletions
|
|
73
74
|
def parse_option(option)
|
74
75
|
res = option.match(/(?:-(?<short>\w), )?(?:--(?:\[no-\])?(?<long>[\w_]+)(?:=(?<arg>\w+))?)\s+- (?<desc>.*?)$/)
|
75
76
|
return nil unless res
|
77
|
+
|
76
78
|
{
|
77
79
|
short: res['short'],
|
78
80
|
long: res['long'],
|
@@ -108,17 +110,16 @@ class FishCompletions
|
|
108
110
|
processing = cmd[:commands]
|
109
111
|
progress('Processing subcommands', i, @commands.count, processing)
|
110
112
|
cmd[:commands].each do |c|
|
111
|
-
out << "'#{c}:#{cmd[:description].gsub(/'/,'\\\'')}'"
|
113
|
+
out << "'#{c}:#{cmd[:description].gsub(/'/, '\\\'')}'"
|
112
114
|
end
|
113
115
|
end
|
114
|
-
|
116
|
+
clear
|
115
117
|
out
|
116
118
|
end
|
117
119
|
|
118
120
|
def generate_subcommand_option_completions(indent: ' ')
|
119
121
|
|
120
122
|
out = []
|
121
|
-
need_export = []
|
122
123
|
# processing = []
|
123
124
|
|
124
125
|
@commands.each_with_index do |cmd, i|
|
@@ -133,16 +134,18 @@ class FishCompletions
|
|
133
134
|
parse_options(data[:command_options]).each do |option|
|
134
135
|
next if option.nil?
|
135
136
|
|
136
|
-
arg = option[:arg] ? '
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
137
|
+
arg = option[:arg] ? '=' : ''
|
138
|
+
|
139
|
+
option_arr << if option[:short]
|
140
|
+
%({-#{option[:short]},--#{option[:long]}#{arg}}"[#{option[:description].gsub(/'/, '\\\'')}]")
|
141
|
+
else
|
142
|
+
%("(--#{option[:long]}#{arg})--#{option[:long]}#{arg}}[#{option[:description].gsub(/'/, '\\\'')}]")
|
143
|
+
end
|
141
144
|
end
|
142
145
|
end
|
143
146
|
|
144
147
|
cmd[:commands].each do |c|
|
145
|
-
out << "#{c}) \n#{indent
|
148
|
+
out << "#{c}) \n#{indent} args=( #{option_arr.join(' ')} )\n#{indent};;"
|
146
149
|
end
|
147
150
|
end
|
148
151
|
|
@@ -158,7 +161,8 @@ class FishCompletions
|
|
158
161
|
|
159
162
|
def generate_completions
|
160
163
|
generate_helpers
|
164
|
+
status('Complete', reset: false)
|
161
165
|
end
|
162
166
|
end
|
163
167
|
|
164
|
-
puts
|
168
|
+
puts ZshCompletions.new.generate_completions
|
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.0.
|
4
|
+
version: 2.0.6.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
@@ -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,6 +227,7 @@ 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
|
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)'
|