lib/menu.yml in markdown_exec-2.1.0 vs lib/menu.yml in markdown_exec-2.2.0
- old
+ new
@@ -234,12 +234,14 @@
:procname: val_as_str
- :arg_name: BOOL
:default: false
:description: Execute script in own window
:env_var: MDE_EXECUTE_IN_OWN_WINDOW
+ :long_name: execute_in_own_window
:opt_name: execute_in_own_window
:procname: val_as_bool
+ :short_name: w
- :default: fg_rgbh_7f_ff_00
:description: execution_report_preview_frame_color
:env_var: MDE_EXECUTION_REPORT_PREVIEW_FRAME_COLOR
:opt_name: execution_report_preview_frame_color
:procname: val_as_str
@@ -257,16 +259,16 @@
:procname: val_as_str
- :description: Exit app
:long_name: exit
:procname: exit
:short_name: x
-- :default: "^(?<indent> *)`{3,}"
+- :default: "^(?<indent>[ \t]*)`{3,}"
:description: Matches the start and end of a fenced code block
:env_var: MDE_FENCED_START_AND_END_REGEX
:opt_name: fenced_start_and_end_regex
:procname: val_as_str
-- :default: "^(?<indent> *)`{3,}(?<shell>[^`\\s]*) *(:(?<name>[^\\s]*))? *(?<rest>.*)
+- :default: "^(?<indent>[ \t]*)`{3,}(?<shell>[^`\\s]*) *(:(?<name>[^\\s]*))? *(?<rest>.*)
*$"
:description: Match the start of a fenced block
:env_var: MDE_FENCED_START_EXTENDED_REGEX
:opt_name: fenced_start_extended_regex
:procname: val_as_str
@@ -323,11 +325,11 @@
:env_var: MDE_HISTORY_PROPERTY_SEPARATOR
:opt_name: history_property_separator
:procname: val_as_str
- :arg_name: HOW
:default: ''
- :description: Find in YAML configuration options
+ :description: Find keyword in YAML configuration options
:long_name: how
:procname: how
:short_name: "?"
- :default:
:env_var: MDE_IMPORT_PATHS
@@ -371,10 +373,11 @@
:description: Load code
:env_var: MDE_LOAD_CODE
:long_name: load-code
:opt_name: load_code
:procname: val_as_str
+ :short_name: l
- :arg_name: PREFIX
:default: mde
:description: Name prefix for stdout files
:env_var: MDE_LOGGED_STDOUT_FILENAME_PREFIX
:opt_name: logged_stdout_filename_prefix
@@ -429,11 +432,11 @@
- :default: "-:= %{line} =:-"
:description: format for menu dividers and demarcations
:env_var: MDE_MENU_DIVIDER_FORMAT
:opt_name: menu_divider_format
:procname: val_as_str
-- :default: "^:::(?<line>(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
+- :default: "^(?<indent>[ \t]*):::(?<line>(?<text>.*?)(?<trailing>[ \t]*))?$"
:description: Pattern for topics/dividers in block selection menu
:env_var: MDE_MENU_DIVIDER_MATCH
:opt_name: menu_divider_match
:procname: val_as_str
- :default: ">"
@@ -546,11 +549,11 @@
- :default: "%{line}"
:description: format for menu notes
:env_var: MDE_MENU_NOTE_FORMAT
:opt_name: menu_note_format
:procname: val_as_str
-- :default: "^(?<line>(?!/)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
+- :default: "^(?<line>(?![ \t]*/)(?<text>.*?)(?<trailing>[ \t]*))?$"
:description: Pattern for notes in block selection menu
:env_var: MDE_MENU_NOTE_MATCH
:opt_name: menu_note_match
:procname: val_as_str
- :default:
@@ -818,16 +821,21 @@
:description: Prompt to exit app
:env_var: MDE_PROMPT_EXIT
:opt_name: prompt_exit
:procname: val_as_str
- :default: Back
- :description: Quit prompt
- :env_var: MDE_PROMPT_FILESPEC_OTHER
+ :description: User wants out of menu
+ :env_var: MDE_PROMPT_FILESPEC_BACK
:opt_name: prompt_filespec_back
:procname: val_as_str
+- :default: Facet
+ :description: User wants to tailor the menu
+ :env_var: MDE_PROMPT_FILESPEC_FACET
+ :opt_name: prompt_filespec_facet
+ :procname: val_as_str
- :default: Other
- :description: Prompt for a custom file name
+ :description: User wants a custom file name
:env_var: MDE_PROMPT_FILESPEC_OTHER
:opt_name: prompt_filespec_other
:procname: val_as_str
- :default: 'No'
:description: Prompt for no
@@ -892,11 +900,11 @@
- :default: 'Yes'
:description: Prompt for yes
:env_var: MDE_PROMPT_YES
:opt_name: prompt_yes
:procname: val_as_str
-- :description: Gem home folder
+- :description: Print the gem's home directory
:long_name: pwd
:opt_name: pwd
:procname: val_as_bool
- :description: Run most recently saved script
:long_name: run-last-script
@@ -907,16 +915,16 @@
> 0)
:env_var: MDE_RUNTIME_EXCEPTION_ERROR_LEVEL
:opt_name: runtime_exception_error_level
:procname: val_as_int
- :default: "%{prefix}%{join}%{time}%{join}%{filename}%{join}%{mark}%{join}%{blockname}%{join}%{exts}"
- :description: saved_asset_format
+ :description: Format for script and log file names
:env_var: MDE_SAVED_ASSET_FORMAT
:opt_name: saved_asset_format
:procname: val_as_str
- :default: "^(?<prefix>.+)(?<join>_)(?<time>[0-9\\-]+)\\g'join'(?<filename>.+)\\g'join'(?<mark>~)\\g'join'(?<blockname>.+)\\g'join'(?<exts>\\..+)$"
- :description: saved_asset_match
+ :description: Regexp for script and log file names
:env_var: MDE_SAVED_ASSET_MATCH
:opt_name: saved_asset_match
:procname: val_as_str
- :arg_name: BOOL
:default: false
@@ -938,10 +946,15 @@
- :default: ",~"
:description: Replacement for pattern in file names
:env_var: MDE_SAVED_FILENAME_REPLACEMENT
:opt_name: saved_filename_replacement
:procname: val_as_str
+- :default: "%{time} %{blockname} %{exts}"
+ :description: Format for each row displayed in history
+ :env_var: MDE_SAVED_HISTORY_FORMAT
+ :opt_name: saved_history_format
+ :procname: val_as_str
- :arg_name: INT
:default: 493
:description: chmod for saved scripts
:env_var: MDE_SAVED_SCRIPT_CHMOD
:opt_name: saved_script_chmod
@@ -1025,18 +1038,10 @@
- :default: 0
:description: 'Maximum # of rows in select list. Detects current limit if not specified.'
:env_var: MDE_SELECT_PAGE_HEIGHT
:opt_name: select_page_height
:procname: val_as_int
-- :description: Select and execute a recently saved output
- :long_name: select-recent-output
- :opt_name: select_recent_output
- :procname: val_as_bool
-- :description: Select and execute a recently saved script
- :long_name: select-recent-script
- :opt_name: select_recent_script
- :procname: val_as_bool
- :default: "#!/usr/bin/env"
:description: Shebang for saved scripts
:env_var: MDE_SHEBANG
:opt_name: shebang
:procname: val_as_str
@@ -1059,9 +1064,15 @@
- :default: "%FT%TZ"
:description: Format for time in code lael
:env_var: MDE_SHELL_CODE_LABEL_TIME_FORMAT
:opt_name: shell_code_label_time_format
:procname: val_as_str
+- :arg_name: BOOL
+ :default: true
+ :description: Whether saved file names include shell parameter expansion
+ :env_var: MDE_SHELL_PARAMETER_EXPANSION
+ :opt_name: shell_parameter_expansion
+ :procname: val_as_bool
- :description: List tab completions
:long_name: tab-completions
:opt_name: tab_completions
:procname: val_as_bool
- :arg_name: BOOL