lib/menu.src.yml in markdown_exec-2.1.0 vs lib/menu.src.yml in markdown_exec-2.2.0

- old
+ new

@@ -273,12 +273,14 @@ - :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 @@ -301,17 +303,17 @@ :procname: exit :short_name: x ## match fenced code indented by spaces # -- :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 @@ -378,11 +380,11 @@ :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: @@ -436,10 +438,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 @@ -505,11 +508,11 @@ :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 @@ -649,11 +652,12 @@ :env_var: MDE_MENU_NOTE_FORMAT :opt_name: menu_note_format :procname: val_as_str ## lines that start with "/" are comments (hidden), not notes (visible) -- :default: "^(?<line>(?!/)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" +# - :default: "^(?<indent>[ \t]*)(?<line>(?!/)(?<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 @@ -963,17 +967,23 @@ :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' @@ -1040,11 +1050,11 @@ :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 @@ -1057,17 +1067,17 @@ :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 @@ -1094,10 +1104,16 @@ :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 @@ -1192,20 +1208,10 @@ :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 @@ -1231,9 +1237,16 @@ - :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