lib/menu.yml in markdown_exec-2.0.5 vs lib/menu.yml in markdown_exec-2.0.6
- old
+ new
@@ -1,6 +1,6 @@
-# MDE - Markdown Executor (2.0.5)
+# MDE - Markdown Executor (2.0.6)
---
- :description: Show current configuration values
:procname: show_config
:short_name: '0'
- :arg_name: BOOL
@@ -92,49 +92,68 @@
- :default: "(document_options)"
:description: Name of Opts block to load with the document
:env_var: MDE_DOCUMENT_LOAD_OPTS_BLOCK_NAME
:opt_name: document_load_opts_block_name
:procname: val_as_str
+- :arg_name: GLOB
+ :default: document_configurations/%{document_filename}_*.sh
+ :description: Glob for saved lines for a document
+ :env_var: MDE_DOCUMENT_SAVED_LINES_GLOB
+ :opt_name: document_saved_lines_glob
+ :procname: val_as_str
- :arg_name: BOOL
+ :default: true
+ :description: Add menu options for saved lines
+ :env_var: MDE_MENU_FOR_SAVED_LINES
+ :opt_name: menu_for_saved_lines
+ :procname: val_as_bool
+- :arg_name: BOOL
:default: false
:description: Dump @delegate_object
- :long_name: dump-dump-delegate-object
+ :env_var: MDE_DUMP_DELEGATE_OBJECT
+ :long_name: dump-delegate-object
:opt_name: dump_delegate_object
:procname: val_as_bool
- :arg_name: BOOL
:default: false
:description: Dump BlocksInFile (stage 1)
+ :env_var: MDE_DUMP_BLOCKS_IN_FILE
:long_name: dump-blocks-in-file
:opt_name: dump_blocks_in_file
:procname: val_as_bool
- :arg_name: BOOL
:default: false
:description: Dump inherited block_names
- :long_name: dump-dump-inherited-block_names
+ :env_var: MDE_DUMP_INHERITED_BLOCK_NAMES
+ :long_name: dump-inherited-block_names
:opt_name: dump_inherited_block_names
:procname: val_as_bool
- :arg_name: BOOL
:default: false
:description: Dump inherited dependencies
- :long_name: dump-dump-inherited-dependencies
+ :env_var: MDE_DUMP_INHERITED_DEPENDENCIES
+ :long_name: dump-inherited-dependencies
:opt_name: dump_inherited_dependencies
:procname: val_as_bool
- :arg_name: BOOL
:default: false
:description: Dump inherited lines
- :long_name: dump-dump-inherited-lines
+ :env_var: MDE_DUMP_INHERITED_LINES
+ :long_name: dump-inherited-lines
:opt_name: dump_inherited_lines
:procname: val_as_bool
- :arg_name: BOOL
:default: false
:description: Dump MenuBlocks (stage 2)
+ :env_var: MDE_DUMP_MENU_BLOCKS
:long_name: dump-menu-blocks
:opt_name: dump_menu_blocks
:procname: val_as_bool
- :arg_name: BOOL
:default: false
:description: Dump selected block
+ :env_var: MDE_DUMP_SELECTED_BLOCK
:long_name: dump-selected-block
:opt_name: dump_selected_block
:procname: val_as_bool
- :default: fg_rgbh_ff_00_7f
:description: Color of exception detail
@@ -237,11 +256,11 @@
- :default: "^(?<indent> *)`{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> *)`{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
@@ -339,10 +358,17 @@
:procname: val_as_bool
- :description: List recent saved scripts
:long_name: list-recent-scripts
:opt_name: list_recent_scripts
:procname: val_as_bool
+- :arg_name: PATH
+ :default: ''
+ :description: Load code
+ :env_var: MDE_LOAD_CODE
+ :long_name: load-code
+ :opt_name: load_code
+ :procname: val_as_str
- :arg_name: PREFIX
:default: mde
:description: Name prefix for stdout files
:env_var: MDE_LOGGED_STDOUT_FILENAME_PREFIX
:opt_name: logged_stdout_filename_prefix
@@ -413,10 +439,16 @@
:default: true
:description: Display Exit option at top of menu (vs bottom)
:env_var: MDE_MENU_EXIT_AT_TOP
:opt_name: menu_exit_at_top
:procname: val_as_bool
+- :arg_name: BOOL
+ :default: false
+ :description: Display Load option at top of menu (vs bottom)
+ :env_var: MDE_MENU_LOAD_AT_TOP
+ :opt_name: menu_load_at_top
+ :procname: val_as_bool
- :default:
:line: "~~~"
:description: closing demarcations for menu
:env_var: MDE_MENU_FINAL_DIVIDER
:opt_name: menu_final_divider
@@ -520,15 +552,39 @@
:description: Text for Back option
:env_var: MDE_MENU_OPTION_BACK_NAME
:opt_name: menu_option_back_name
:procname: val_as_str
- :default:
+ :line: "* Edit"
+ :description: Text for Edit option
+ :env_var: MDE_MENU_OPTION_EDIT_NAME
+ :opt_name: menu_option_edit_name
+ :procname: val_as_str
+- :default:
:line: "* Exit"
:description: Text for Exit option
:env_var: MDE_MENU_OPTION_EXIT_NAME
:opt_name: menu_option_exit_name
:procname: val_as_str
+- :default:
+ :line: "* Load"
+ :description: Text for Load option
+ :env_var: MDE_MENU_OPTION_LOAD_NAME
+ :opt_name: menu_option_load_name
+ :procname: val_as_str
+- :default:
+ :line: "* Save"
+ :description: Text for Save option
+ :env_var: MDE_MENU_OPTION_SAVE_NAME
+ :opt_name: menu_option_save_name
+ :procname: val_as_str
+- :default:
+ :line: "* View"
+ :description: Text for View option
+ :env_var: MDE_MENU_OPTION_VIEW_NAME
+ :opt_name: menu_option_view_name
+ :procname: val_as_str
- :default: fg_rgbh_ff_00_ff
:description: Color of menu opts
:env_var: MDE_MENU_OPTS_COLOR
:opt_name: menu_opts_color
:procname: val_as_str
@@ -593,11 +649,11 @@
:description: Display Exit option in menu
:env_var: MDE_MENU_WITH_EXIT
:opt_name: menu_with_exit
:procname: val_as_bool
- :arg_name: BOOL
- :default: true
+ :default: false
:description: Display inherited lines in menu
:env_var: MDE_MENU_WITH_INHERITED_LINES
:opt_name: menu_with_inherited_lines
:procname: val_as_bool
- :arg_name: BOOL
@@ -634,11 +690,10 @@
:procname: val_as_str
- :arg_name: BOOL
:default: false
:description: Display summary for execution
:env_var: MDE_OUTPUT_EXECUTION_SUMMARY
- :long_name: output-execution-summary
:opt_name: output_execution_summary
:procname: val_as_bool
- :default: "%{name}: %{value}"
:description: format for menu dividers and demarcations
:env_var: MDE_OUTPUT_EXECUTION_LABEL_FORMAT
@@ -726,10 +781,15 @@
- :default: Exit
: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
+ :opt_name: prompt_filespec_back
+ :procname: val_as_str
- :default: Other
:description: Prompt for a custom file name
:env_var: MDE_PROMPT_FILESPEC_OTHER
:opt_name: prompt_filespec_other
:procname: val_as_str
@@ -807,18 +867,16 @@
:procname: val_as_int
- :arg_name: BOOL
:default: false
:description: Wheter to save an executed script`
:env_var: MDE_SAVE_EXECUTED_SCRIPT
- :long_name: save-executed-script
:opt_name: save_executed_script
:procname: val_as_bool
- :arg_name: BOOL
:default: false
:description: Save standard output of the executed script
:env_var: MDE_SAVE_EXECUTION_OUTPUT
- :long_name: save-execution-output
:opt_name: save_execution_output
:procname: val_as_bool
- :default: "/"
:description: Pattern to replace in file names
:env_var: MDE_SAVED_FILENAME_PATTERN
@@ -843,11 +901,10 @@
:procname: val_as_str
- :arg_name: RELATIVE_PATH
:default: logs
:description: Folder where saved scripts are stored
:env_var: MDE_SAVED_SCRIPT_FOLDER
- :long_name: saved-script-folder
:opt_name: saved_script_folder
:procname: val_as_str
- :arg_name: GLOB
:default: mde_*.sh
:description: Glob matching saved scripts
@@ -856,10 +913,9 @@
:procname: val_as_str
- :arg_name: RELATIVE_PATH
:default: logs
:description: Saved stdout folder
:env_var: MDE_SAVED_STDOUT_FOLDER
- :long_name: saved-stdout-folder
:opt_name: saved_stdout_folder
:procname: val_as_str
- :arg_name: GLOB
:default: mde_*.out.txt
:description: Glob matching saved outputs