markdown_exec 1.3.8 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
data/lib/menu.yml CHANGED
@@ -1,12 +1,56 @@
1
- # MDE - Markdown Executor (1.3.8)
1
+ # MDE - Markdown Executor (1.3.9)
2
2
  ---
3
+ - :description: Show current configuration values
4
+ :procname: show_config
5
+ :short_name: '0'
6
+ - :arg_name: BOOL
7
+ :default: false
8
+ :description: Display only blocks of type "bash"
9
+ :env_var: MDE_BASH_ONLY
10
+ :opt_name: bash_only
11
+ :procname: val_as_bool
12
+ - :default: "%\\([^\\)]+\\)"
13
+ :env_var: MDE_BLOCK_CALLS_SCAN
14
+ :opt_name: block_calls_scan
15
+ :procname: val_as_str
3
16
  - :arg_name: NAME
4
17
  :compreply: false
5
18
  :description: Name of block
6
19
  :env_var: MDE_BLOCK_NAME
7
20
  :long_name: block-name
8
21
  :opt_name: block_name
22
+ :procname: val_as_str
9
23
  :short_name: b
24
+ - :default: "^-.+-$"
25
+ :description: Pattern for blocks to hide from user-selection
26
+ :env_var: MDE_BLOCK_NAME_HIDDEN_MATCH
27
+ :opt_name: block_name_hidden_match
28
+ :procname: val_as_str
29
+ - :default: "^[\\(\\[].*[\\)\\]]$"
30
+ :description: Pattern for blocks to hide from user-selection
31
+ :env_var: MDE_BLOCK_NAME_INCLUDE_MATCH
32
+ :opt_name: block_name_include_match
33
+ :procname: val_as_str
34
+ - :default: ":(?<title>\\S+)( |$)"
35
+ :env_var: MDE_BLOCK_NAME_MATCH
36
+ :opt_name: block_name_match
37
+ :procname: val_as_str
38
+ - :default: "^{.+}$"
39
+ :description: Pattern for block names to use as wrappers
40
+ :env_var: MDE_BLOCK_NAME_WRAPPER_MATCH
41
+ :opt_name: block_name_wrapper_match
42
+ :procname: val_as_str
43
+ - :default: "\\+\\S+"
44
+ :env_var: MDE_BLOCK_REQUIRED_SCAN
45
+ :opt_name: block_required_scan
46
+ :procname: val_as_str
47
+ - :default: "<(?<full>(?<type>\\$)?(?<name>[A-Za-z_\\-\\.\\w]+))"
48
+ :env_var: MDE_BLOCK_STDIN_SCAN
49
+ :opt_name: block_stdin_scan
50
+ :procname: val_as_str
51
+ - :default: ">(?<full>(?<type>\\$)?(?<name>[A-Za-z_\\-\\.\\w]+))"
52
+ :env_var: MDE_BLOCK_STDOUT_SCAN
53
+ :opt_name: block_stdout_scan
10
54
  :procname: val_as_str
11
55
  - :arg_name: PATH
12
56
  :default: "."
@@ -18,51 +62,93 @@
18
62
  :description: Debug output
19
63
  :env_var: MDE_DEBUG
20
64
  :long_name: debug
21
- :short_name: d
22
65
  :procname: debug
66
+ :short_name: d
67
+ - :default: "> "
68
+ :env_var: MDE_DISPLAY_LEVEL_XBASE_PREFIX
69
+ :opt_name: display_level_xbase_prefix
70
+ :procname: val_as_str
71
+ - :arg_name: REGEX
72
+ :default:
73
+ :description: Exclude blocks with name matching
74
+ :env_var: MDE_EXCLUDE_BY_NAME_REGEX
75
+ :opt_name: exclude_by_name_regex
76
+ :procname: val_as_str
77
+ - :arg_name: REGEX
78
+ :default:
79
+ :description: Exclude blocks with shell matching
80
+ :env_var: MDE_EXCLUDE_BY_SHELL_REGEX
81
+ :opt_name: exclude_by_shell_regex
82
+ :procname: val_as_str
83
+ - :arg_name: BOOL
84
+ :default: true
85
+ :description: Hide all blocks of type "expect"
86
+ :env_var: MDE_EXCLUDE_EXPECT_BLOCKS
87
+ :opt_name: exclude_expect_blocks
88
+ :procname: val_as_bool
89
+ - :description: Exit app
90
+ :long_name: exit
91
+ :procname: exit
92
+ :short_name: x
93
+ - :default: "^`{3,}"
94
+ :env_var: MDE_FENCED_START_AND_END_REGEX
95
+ :opt_name: fenced_start_and_end_regex
96
+ :procname: val_as_str
97
+ - :default: "^`{3,}(?<shell>[^`\\s]*) *:?(?<name>[^\\s]*) *(?<rest>.*) *$"
98
+ :env_var: MDE_FENCED_START_EXTENDED_REGEX
99
+ :opt_name: fenced_start_extended_regex
100
+ :procname: val_as_str
23
101
  - :arg_name: RELATIVE_PATH
24
102
  :compreply: "."
25
103
  :description: Name of document
26
104
  :env_var: MDE_FILENAME
27
105
  :long_name: filename
28
106
  :opt_name: filename
107
+ :procname: val_as_str
29
108
  :short_name: f
109
+ - :default: "^# *(?<name>[^#]*?) *$"
110
+ :env_var: MDE_HEADING1_MATCH
111
+ :opt_name: heading1_match
112
+ :procname: val_as_str
113
+ - :default: "^## *(?<name>[^#]*?) *$"
114
+ :env_var: MDE_HEADING2_MATCH
115
+ :opt_name: heading2_match
116
+ :procname: val_as_str
117
+ - :default: "^### *(?<name>.+?) *$"
118
+ :env_var: MDE_HEADING3_MATCH
119
+ :opt_name: heading3_match
30
120
  :procname: val_as_str
31
121
  - :description: App help
32
122
  :long_name: help
33
- :short_name: h
34
123
  :procname: help
35
- - :arg_name: RELATIVE_PATH
36
- :default: "."
37
- :description: Path to documents
38
- :env_var: MDE_PATH
39
- :long_name: path
40
- :opt_name: path
41
- :short_name: p
42
- :procname: val_as_str
124
+ :short_name: h
43
125
  - :arg_name: BOOL
44
126
  :default: true
45
- :description: Pause for user to approve script
46
- :env_var: MDE_USER_MUST_APPROVE
47
- :long_name: user-must-approve
48
- :opt_name: user_must_approve
49
- :short_name: q
127
+ :description: |-
128
+ Exclude blocks with name matching expression " \
129
+ "`block_name_hidden_match`
130
+ :env_var: MDE_HIDE_BLOCKS_BY_NAME
131
+ :opt_name: hide_blocks_by_name
50
132
  :procname: val_as_bool
51
- - :description: Print the gem's version
52
- :long_name: version
53
- :short_name: v
54
- :procname: version
55
- - :description: Exit app
56
- :long_name: exit
57
- :short_name: x
58
- :procname: exit
59
- - :description: Show current configuration values
60
- :short_name: '0'
61
- :procname: show_config
133
+ - :default: ","
134
+ :env_var: MDE_HISTORY_DOCUMENT_SEPARATOR
135
+ :opt_name: history_document_separator
136
+ :procname: val_as_str
137
+ - :default: "^ *@import (.+)$"
138
+ :env_var: MDE_IMPORT_PATTERN
139
+ :opt_name: import_pattern
140
+ :procname: val_as_str
62
141
  - :description: List blocks
63
142
  :long_name: list-blocks
64
143
  :opt_name: list_blocks
65
144
  :procname: val_as_bool
145
+ - :arg_name: INT.1-
146
+ :default: 32
147
+ :description: Max. items to return in list
148
+ :env_var: MDE_LIST_COUNT
149
+ :long_name: list-count
150
+ :opt_name: list_count
151
+ :procname: val_as_int
66
152
  - :description: List default configuration as environment variables
67
153
  :long_name: list-default-env
68
154
  :opt_name: list_default_env
@@ -81,77 +167,31 @@
81
167
  :long_name: list-recent-scripts
82
168
  :opt_name: list_recent_scripts
83
169
  :procname: val_as_bool
84
- - :description: Select and execute a recently saved output
85
- :long_name: select-recent-output
86
- :opt_name: select_recent_output
87
- :procname: val_as_bool
88
- - :description: Select and execute a recently saved script
89
- :long_name: select-recent-script
90
- :opt_name: select_recent_script
91
- :procname: val_as_bool
92
- - :description: List tab completions
93
- :long_name: tab-completions
94
- :opt_name: tab_completions
95
- :procname: val_as_bool
96
- - :description: Run most recently saved script
97
- :long_name: run-last-script
98
- :opt_name: run_last_script
99
- :procname: val_as_bool
100
- - :description: Gem home folder
101
- :long_name: pwd
102
- :opt_name: pwd
103
- :procname: val_as_bool
104
- - :arg_name: BOOL
105
- :default: false
106
- :description: Display only blocks of type "bash"
107
- :env_var: MDE_BASH_ONLY
108
- :opt_name: bash_only
109
- :procname: val_as_bool
110
- - :arg_name: BOOL
111
- :default: false
112
- :description: Hide decorative menu entries
113
- :env_var: MDE_NO_CHROME
114
- :opt_name: no_chrome
115
- :procname: val_as_bool
116
- - :arg_name: REGEX
117
- :default:
118
- :description: Exclude blocks with name matching
119
- :env_var: MDE_EXCLUDE_BY_NAME_REGEX
120
- :opt_name: exclude_by_name_regex
121
- :procname: val_as_str
122
- - :arg_name: REGEX
123
- :default:
124
- :description: Exclude blocks with shell matching
125
- :env_var: MDE_EXCLUDE_BY_SHELL_REGEX
126
- :opt_name: exclude_by_shell_regex
127
- :procname: val_as_str
128
- - :arg_name: BOOL
129
- :default: true
130
- :description: Hide all blocks of type "expect"
131
- :env_var: MDE_EXCLUDE_EXPECT_BLOCKS
132
- :opt_name: exclude_expect_blocks
133
- :procname: val_as_bool
134
- - :arg_name: BOOL
135
- :default: true
136
- :description: |-
137
- Exclude blocks with name matching expression " \
138
- "`block_name_hidden_match`
139
- :env_var: MDE_HIDE_BLOCKS_BY_NAME
140
- :opt_name: hide_blocks_by_name
141
- :procname: val_as_bool
142
- - :arg_name: INT.1-
143
- :default: 32
144
- :description: Max. items to return in list
145
- :env_var: MDE_LIST_COUNT
146
- :long_name: list-count
147
- :opt_name: list_count
148
- :procname: val_as_int
149
170
  - :arg_name: PREFIX
150
171
  :default: mde
151
172
  :description: Name prefix for stdout files
152
173
  :env_var: MDE_LOGGED_STDOUT_FILENAME_PREFIX
153
174
  :opt_name: logged_stdout_filename_prefix
154
175
  :procname: val_as_str
176
+ - :default: "*.[Mm][Dd]"
177
+ :env_var: MDE_MD_FILENAME_GLOB
178
+ :opt_name: md_filename_glob
179
+ :procname: val_as_str
180
+ - :default: ".+\\.md"
181
+ :env_var: MDE_MD_FILENAME_MATCH
182
+ :opt_name: md_filename_match
183
+ :procname: val_as_str
184
+ - :arg_name: BOOL
185
+ :default: true
186
+ :description: Display Back option at top of menu (vs bottom)
187
+ :env_var: MDE_MENU_BACK_AT_TOP
188
+ :opt_name: menu_back_at_top
189
+ :procname: val_as_bool
190
+ - :default: plain
191
+ :description: Color of menu bash
192
+ :env_var: MDE_MENU_BASH_COLOR
193
+ :opt_name: menu_bash_color
194
+ :procname: val_as_str
155
195
  - :arg_name: BOOL
156
196
  :default: false
157
197
  :description: Display document name in block selection menu
@@ -164,18 +204,125 @@
164
204
  :env_var: MDE_MENU_BLOCKS_WITH_HEADINGS
165
205
  :opt_name: menu_blocks_with_headings
166
206
  :procname: val_as_bool
207
+ - :default: magenta
208
+ :description: Color of menu divider
209
+ :env_var: MDE_MENU_DIVIDER_COLOR
210
+ :opt_name: menu_divider_color
211
+ :procname: val_as_str
212
+ - :default: "-:= %s =:-"
213
+ :description: format for menu dividers and demarcations
214
+ :env_var: MDE_MENU_DIVIDER_FORMAT
215
+ :opt_name: menu_divider_format
216
+ :procname: val_as_str
217
+ - :default: "^::: +(?<name>.+?)$"
218
+ :description: Pattern for topics/dividers in block selection menu
219
+ :env_var: MDE_MENU_DIVIDER_MATCH
220
+ :opt_name: menu_divider_match
221
+ :procname: val_as_str
222
+ - :default: ">"
223
+ :description: Symbol before each divider
224
+ :env_var: MDE_MENU_DIVIDER_SYMBOL
225
+ :opt_name: menu_divider_symbol
226
+ :procname: val_as_str
167
227
  - :arg_name: BOOL
168
228
  :default: true
169
- :description: Display Exit option at top of menu
229
+ :description: Display Exit option at top of menu (vs bottom)
170
230
  :env_var: MDE_MENU_EXIT_AT_TOP
171
231
  :opt_name: menu_exit_at_top
172
232
  :procname: val_as_bool
233
+ - :default: "~~~"
234
+ :description: closing demarcations for menu
235
+ :env_var: MDE_MENU_FINAL_DIVIDER
236
+ :opt_name: menu_final_divider
237
+ :procname: val_as_str
238
+ - :default: ''
239
+ :description: opening demarcation for menu
240
+ :env_var: MDE_MENU_INITIAL_DIVIDER
241
+ :opt_name: menu_initial_divider
242
+ :procname: val_as_str
243
+ - :default: red
244
+ :description: Color of menu link
245
+ :env_var: MDE_MENU_LINK_COLOR
246
+ :opt_name: menu_link_color
247
+ :procname: val_as_str
248
+ - :default: blue
249
+ :description: Color of menu opts
250
+ :env_var: MDE_MENU_OPTS_COLOR
251
+ :opt_name: menu_opts_color
252
+ :procname: val_as_str
253
+ - :default: cyan
254
+ :description: Color of menu opts
255
+ :env_var: MDE_MENU_OPTS_SET_COLOR
256
+ :opt_name: menu_opts_set_color
257
+ :procname: val_as_str
258
+ - :default: "%{key} = %{value}\n"
259
+ :description: format for menu opts output
260
+ :env_var: MDE_MENU_OPTS_SET_FORMAT
261
+ :opt_name: menu_opts_set_format
262
+ :procname: val_as_str
263
+ - :default: cyan
264
+ :description: Color of menu task
265
+ :env_var: MDE_MENU_TASK_COLOR
266
+ :opt_name: menu_task_color
267
+ :procname: val_as_str
268
+ - :default: "%{name} [%{status}]"
269
+ :description: format for menu tasks and demarcations
270
+ :env_var: MDE_MENU_TASK_FORMAT
271
+ :opt_name: menu_task_format
272
+ :procname: val_as_str
273
+ - :default: "^ *\\[(?<status>.{1,4})\\] *(?<name>.*) *$"
274
+ :description: Pattern for tasks
275
+ :env_var: MDE_MENU_TASK_MATCH
276
+ :opt_name: menu_task_match
277
+ :procname: val_as_str
278
+ - :default: ">"
279
+ :description: Symbol before each task
280
+ :env_var: MDE_MENU_TASK_SYMBOL
281
+ :opt_name: menu_task_symbol
282
+ :procname: val_as_str
283
+ - :default: blue
284
+ :description: Color of menu vars
285
+ :env_var: MDE_MENU_VARS_COLOR
286
+ :opt_name: menu_vars_color
287
+ :procname: val_as_str
288
+ - :default: cyan
289
+ :description: Color of menu vars
290
+ :env_var: MDE_MENU_VARS_SET_COLOR
291
+ :opt_name: menu_vars_set_color
292
+ :procname: val_as_str
293
+ - :default: "%{key} = %{value}\n"
294
+ :description: format for menu vars output
295
+ :env_var: MDE_MENU_VARS_SET_FORMAT
296
+ :opt_name: menu_vars_set_format
297
+ :procname: val_as_str
298
+ - :arg_name: BOOL
299
+ :default: true
300
+ :description: Display Back option in menu
301
+ :env_var: MDE_MENU_WITH_BACK
302
+ :opt_name: menu_with_back
303
+ :procname: val_as_bool
173
304
  - :arg_name: BOOL
174
305
  :default: true
175
306
  :description: Display Exit option in menu
176
307
  :env_var: MDE_MENU_WITH_EXIT
177
308
  :opt_name: menu_with_exit
178
309
  :procname: val_as_bool
310
+ - :arg_name: BOOL
311
+ :default: false
312
+ :description: Hide decorative menu entries
313
+ :env_var: MDE_NO_CHROME
314
+ :opt_name: no_chrome
315
+ :procname: val_as_bool
316
+ - :default: " #=#=#"
317
+ :description: Output divider
318
+ :env_var: MDE_OUTPUT_DIVIDER
319
+ :opt_name: output_divider
320
+ :procname: val_as_str
321
+ - :default: yellow
322
+ :description: Color of output divider
323
+ :env_var: MDE_OUTPUT_DIVIDER_COLOR
324
+ :opt_name: output_divider_color
325
+ :procname: val_as_str
179
326
  - :arg_name: BOOL
180
327
  :default: false
181
328
  :description: Display summary for execution
@@ -203,6 +350,66 @@
203
350
  :long_name: output-stdout
204
351
  :opt_name: output_stdout
205
352
  :procname: val_as_bool
353
+ - :description: Options for viewing saved output file
354
+ :env_var: MDE_OUTPUT_VIEWER_OPTIONS
355
+ :opt_name: output_viewer_options
356
+ :procname: val_as_str
357
+ - :arg_name: RELATIVE_PATH
358
+ :default: "."
359
+ :description: Path to documents
360
+ :env_var: MDE_PATH
361
+ :long_name: path
362
+ :opt_name: path
363
+ :procname: val_as_str
364
+ :short_name: p
365
+ - :default: Process?
366
+ :description: Prompt to approve a block
367
+ :env_var: MDE_PROMPT_APPROVE_BLOCK
368
+ :opt_name: prompt_approve_block
369
+ :procname: val_as_str
370
+ - :default: 'No'
371
+ :description: Prompt for no
372
+ :env_var: MDE_PROMPT_NO
373
+ :opt_name: prompt_no
374
+ :procname: val_as_str
375
+ - :default: Save script
376
+ :description: Prompt to save script
377
+ :env_var: MDE_PROMPT_SAVE_SCRIPT
378
+ :opt_name: prompt_save_script
379
+ :procname: val_as_str
380
+ - :default: Copy script to clipboard
381
+ :description: Prompt to copy script to clipboard
382
+ :env_var: MDE_PROMPT_SCRIPT_TO_CLIPBOARD
383
+ :opt_name: prompt_script_to_clipboard
384
+ :procname: val_as_str
385
+ - :default: 'Choose a block:'
386
+ :description: Prompt to select a block
387
+ :env_var: MDE_PROMPT_SELECT_BLOCK
388
+ :opt_name: prompt_select_block
389
+ :procname: val_as_str
390
+ - :default: 'Choose a file:'
391
+ :description: Prompt to select a markdown document
392
+ :env_var: MDE_PROMPT_SELECT_MD
393
+ :opt_name: prompt_select_md
394
+ :procname: val_as_str
395
+ - :default: 'Choose a file:'
396
+ :description: Prompt to select a saved file
397
+ :env_var: MDE_PROMPT_SELECT_OUTPUT
398
+ :opt_name: prompt_select_output
399
+ :procname: val_as_str
400
+ - :default: 'Yes'
401
+ :description: Prompt for yes
402
+ :env_var: MDE_PROMPT_YES
403
+ :opt_name: prompt_yes
404
+ :procname: val_as_str
405
+ - :description: Gem home folder
406
+ :long_name: pwd
407
+ :opt_name: pwd
408
+ :procname: val_as_bool
409
+ - :description: Run most recently saved script
410
+ :long_name: run-last-script
411
+ :opt_name: run_last_script
412
+ :procname: val_as_bool
206
413
  - :arg_name: BOOL
207
414
  :default: false
208
415
  :description: Save executed script
@@ -267,136 +474,19 @@
267
474
  :env_var: MDE_SELECT_BY_SHELL_REGEX
268
475
  :opt_name: select_by_shell_regex
269
476
  :procname: val_as_str
270
- - :default: "^-.+-$"
271
- :description: Pattern for blocks to hide from user-selection
272
- :env_var: MDE_BLOCK_NAME_HIDDEN_MATCH
273
- :opt_name: block_name_hidden_match
274
- :procname: val_as_str
275
- - :default: "^[\\(\\[].*[\\)\\]]$"
276
- :description: Pattern for blocks to hide from user-selection
277
- :env_var: MDE_BLOCK_NAME_INCLUDE_MATCH
278
- :opt_name: block_name_include_match
279
- :procname: val_as_str
280
- - :default: ":(?<title>\\S+)( |$)"
281
- :env_var: MDE_BLOCK_NAME_MATCH
282
- :opt_name: block_name_match
283
- :procname: val_as_str
284
- - :default: "^{.+}$"
285
- :description: Pattern for block names to use as wrappers
286
- :env_var: MDE_BLOCK_NAME_WRAPPER_MATCH
287
- :opt_name: block_name_wrapper_match
288
- :procname: val_as_str
289
- - :default: "%\\([^\\)]+\\)"
290
- :env_var: MDE_BLOCK_CALLS_SCAN
291
- :opt_name: block_calls_scan
292
- :procname: val_as_str
293
- - :default: "\\+\\S+"
294
- :env_var: MDE_BLOCK_REQUIRED_SCAN
295
- :opt_name: block_required_scan
296
- :procname: val_as_str
297
- - :default: "<(?<full>(?<type>\\$)?(?<name>[A-Za-z_\\-\\.\\w]+))"
298
- :env_var: MDE_BLOCK_STDIN_SCAN
299
- :opt_name: block_stdin_scan
300
- :procname: val_as_str
301
- - :default: ">(?<full>(?<type>\\$)?(?<name>[A-Za-z_\\-\\.\\w]+))"
302
- :env_var: MDE_BLOCK_STDOUT_SCAN
303
- :opt_name: block_stdout_scan
304
- :procname: val_as_str
305
- - :default: "> "
306
- :env_var: MDE_DISPLAY_LEVEL_XBASE_PREFIX
307
- :opt_name: display_level_xbase_prefix
308
- :procname: val_as_str
309
- - :default: "^`{3,}"
310
- :env_var: MDE_FENCED_START_AND_END_MATCH
311
- :opt_name: fenced_start_and_end_match
312
- :procname: val_as_str
313
- - :default: "^`{3,}(?<shell>[^`\\s]*) *:?(?<name>[^\\s]*) *(?<rest>.*) *$"
314
- :env_var: MDE_FENCED_START_EX_MATCH
315
- :opt_name: fenced_start_ex_match
316
- :procname: val_as_str
317
- - :default: "^# *(?<name>[^#]*?) *$"
318
- :env_var: MDE_HEADING1_MATCH
319
- :opt_name: heading1_match
320
- :procname: val_as_str
321
- - :default: "^## *(?<name>[^#]*?) *$"
322
- :env_var: MDE_HEADING2_MATCH
323
- :opt_name: heading2_match
324
- :procname: val_as_str
325
- - :default: "^### *(?<name>.+?) *$"
326
- :env_var: MDE_HEADING3_MATCH
327
- :opt_name: heading3_match
328
- :procname: val_as_str
329
- - :default: "^ *@import (.+)$"
330
- :env_var: MDE_IMPORT_PATTERN
331
- :opt_name: import_pattern
332
- :procname: val_as_str
333
- - :default: "*.[Mm][Dd]"
334
- :env_var: MDE_MD_FILENAME_GLOB
335
- :opt_name: md_filename_glob
336
- :procname: val_as_str
337
- - :default: ".+\\.md"
338
- :env_var: MDE_MD_FILENAME_MATCH
339
- :opt_name: md_filename_match
340
- :procname: val_as_str
341
- - :default: "-:= %s =:-"
342
- :description: format for menu dividers and demarcations
343
- :env_var: MDE_MENU_DIVIDER_FORMAT
344
- :opt_name: menu_divider_format
345
- :procname: val_as_str
346
- - :default: magenta
347
- :description: Color of menu divider
348
- :env_var: MDE_MENU_DIVIDER_COLOR
349
- :opt_name: menu_divider_color
350
- :procname: val_as_str
351
- - :default: "^::: +(?<name>.+?)$"
352
- :description: Pattern for topics/dividers in block selection menu
353
- :env_var: MDE_MENU_DIVIDER_MATCH
354
- :opt_name: menu_divider_match
355
- :procname: val_as_str
356
- - :default: ">"
357
- :description: Symbol before each divider
358
- :env_var: MDE_MENU_DIVIDER_SYMBOL
359
- :opt_name: menu_divider_symbol
360
- :procname: val_as_str
361
- - :default: "~~~"
362
- :description: closing demarcations for menu
363
- :env_var: MDE_MENU_FINAL_DIVIDER
364
- :opt_name: menu_final_divider
365
- :procname: val_as_str
366
- - :default: ''
367
- :description: opening demarcation for menu
368
- :env_var: MDE_MENU_INITIAL_DIVIDER
369
- :opt_name: menu_initial_divider
370
- :procname: val_as_str
371
- - :default: "%{name} [%{status}]"
372
- :description: format for menu tasks and demarcations
373
- :env_var: MDE_MENU_TASK_FORMAT
374
- :opt_name: menu_task_format
375
- :procname: val_as_str
376
- - :default: cyan
377
- :description: Color of menu task
378
- :env_var: MDE_MENU_TASK_COLOR
379
- :opt_name: menu_task_color
380
- :procname: val_as_str
381
- - :default: "^ *\\[(?<status>.{1,4})\\] *(?<name>.*) *$"
382
- :description: Pattern for tasks
383
- :env_var: MDE_MENU_TASK_MATCH
384
- :opt_name: menu_task_match
385
- :procname: val_as_str
386
- - :default: ">"
387
- :description: Symbol before each task
388
- :env_var: MDE_MENU_TASK_SYMBOL
389
- :opt_name: menu_task_symbol
390
- :procname: val_as_str
391
- - :description: Options for viewing saved output file
392
- :env_var: MDE_OUTPUT_VIEWER_OPTIONS
393
- :opt_name: output_viewer_options
394
- :procname: val_as_str
395
477
  - :default: 36
396
478
  :description: 'Maximum # of rows in select list'
397
479
  :env_var: MDE_SELECT_PAGE_HEIGHT
398
480
  :opt_name: select_page_height
399
481
  :procname: val_as_int
482
+ - :description: Select and execute a recently saved output
483
+ :long_name: select-recent-output
484
+ :opt_name: select_recent_output
485
+ :procname: val_as_bool
486
+ - :description: Select and execute a recently saved script
487
+ :long_name: select-recent-script
488
+ :opt_name: select_recent_script
489
+ :procname: val_as_bool
400
490
  - :default: "#!/usr/bin/env"
401
491
  :description: Shebang for saved scripts
402
492
  :env_var: MDE_SHEBANG
@@ -407,56 +497,22 @@
407
497
  :env_var: MDE_SHELL
408
498
  :opt_name: shell
409
499
  :procname: val_as_str
410
- - :default: Process?
411
- :description: Prompt to approve a block
412
- :env_var: MDE_PROMPT_APPROVE_BLOCK
413
- :opt_name: prompt_approve_block
414
- :procname: val_as_str
415
- - :default: 'Choose a block:'
416
- :description: Prompt to select a block
417
- :env_var: MDE_PROMPT_SELECT_BLOCK
418
- :opt_name: prompt_select_block
419
- :procname: val_as_str
420
- - :default: 'Choose a file:'
421
- :description: Prompt to select a markdown document
422
- :env_var: MDE_PROMPT_SELECT_MD
423
- :opt_name: prompt_select_md
424
- :procname: val_as_str
425
- - :default: 'Choose a file:'
426
- :description: Prompt to select a saved file
427
- :env_var: MDE_PROMPT_SELECT_OUTPUT
428
- :opt_name: prompt_select_output
429
- :procname: val_as_str
430
- - :default: Copy script to clipboard
431
- :description: Prompt to copy script to clipboard
432
- :env_var: MDE_PROMPT_SCRIPT_TO_CLIPBOARD
433
- :opt_name: prompt_script_to_clipboard
434
- :procname: val_as_str
435
- - :default: Save script
436
- :description: Prompt to save script
437
- :env_var: MDE_PROMPT_SAVE_SCRIPT
438
- :opt_name: prompt_save_script
439
- :procname: val_as_str
440
- - :default: 'No'
441
- :description: Prompt for no
442
- :env_var: MDE_PROMPT_NO
443
- :opt_name: prompt_no
444
- :procname: val_as_str
445
- - :default: 'Yes'
446
- :description: Prompt for yes
447
- :env_var: MDE_PROMPT_YES
448
- :opt_name: prompt_yes
449
- :procname: val_as_str
450
- - :default: " #=#=#"
451
- :description: Output divider
452
- :env_var: MDE_OUTPUT_DIVIDER
453
- :opt_name: output_divider
454
- :procname: val_as_str
455
- - :default: yellow
456
- :description: Color of output divider
457
- :env_var: MDE_OUTPUT_DIVIDER_COLOR
458
- :opt_name: output_divider_color
459
- :procname: val_as_str
500
+ - :description: List tab completions
501
+ :long_name: tab-completions
502
+ :opt_name: tab_completions
503
+ :procname: val_as_bool
504
+ - :arg_name: BOOL
505
+ :default: true
506
+ :description: Pause for user to approve script
507
+ :env_var: MDE_USER_MUST_APPROVE
508
+ :long_name: user-must-approve
509
+ :opt_name: user_must_approve
510
+ :procname: val_as_bool
511
+ :short_name: q
512
+ - :description: Print the gem's version
513
+ :long_name: version
514
+ :procname: version
515
+ :short_name: v
460
516
  - :arg_name: INT.0-3
461
517
  :default: 1
462
518
  :description: Output display level (0 to 3 [data, +context, +info])