--- - :short_name: '0' :description: Show current configuration values :procname: show_config - :opt_name: bash_only :env_var: MDE_BASH_ONLY :description: Execute only blocks of type "bash" :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: block_calls_scan :env_var: MDE_BLOCK_CALLS_SCAN :default: "%\\([^\\)]+\\)" :procname: val_as_str - :opt_name: block_disable_match :env_var: MDE_BLOCK_DISABLE_MATCH :default: '@disable' :procname: val_as_str - :opt_name: block_name :long_name: block-name :short_name: b :env_var: MDE_BLOCK_NAME :description: Name of block to execute :arg_name: NAME :compreply: false :procname: val_as_str - :opt_name: block_name_hidden_match :env_var: MDE_BLOCK_NAME_HIDDEN_MATCH :description: Pattern for blocks to hide from user-selection :default: "^-.+-$" :procname: val_as_str - :opt_name: block_name_include_match :env_var: MDE_BLOCK_NAME_INCLUDE_MATCH :description: Pattern for blocks to hide from user-selection :default: "^\\(.*\\)$" :procname: val_as_str - :opt_name: block_name_match :env_var: MDE_BLOCK_NAME_MATCH :default: ":(?\\S+)( |$)" :procname: val_as_str - :opt_name: block_name_nick_match :env_var: MDE_BLOCK_NAME_NICK_MATCH :description: Pattern for block nicknames (name is not used in menu) :default: "^\\[.*\\]$" :procname: val_as_str - :opt_name: block_name_wrapper_match :env_var: MDE_BLOCK_NAME_WRAPPER_MATCH :description: Pattern for block names to use as wrappers :default: "^{.+}$" :procname: val_as_str - :opt_name: block_required_scan :env_var: MDE_BLOCK_REQUIRED_SCAN :default: "\\+\\S+" :procname: val_as_str - :opt_name: block_stdin_scan :env_var: MDE_BLOCK_STDIN_SCAN :default: "<(?<full>(?<type>\\$)?(?<name>[A-Za-z_\\-\\.\\w]+))" :procname: val_as_str - :opt_name: block_stdout_scan :env_var: MDE_BLOCK_STDOUT_SCAN :description: Match to place block body into a file or a variable :default: ">(?<full>(?<type>\\$)?(?<name>[A-Za-z_\\-\\.\\w]+))" :procname: val_as_str - :opt_name: block_type_default :env_var: MDE_BLOCK_TYPE_DEFAULT :default: bash :procname: val_as_str - :opt_name: block_type_port_set_format :env_var: MDE_BLOCK_TYPE_PORT_SET_FORMAT :default: ": ${%{key}:=%{value}}" :procname: val_as_str - :opt_name: clear_screen_for_select_block :env_var: MDE_CLEAR_SCREEN_FOR_SELECT_BLOCK :description: clear_screen_for_select_block :arg_name: BOOL :default: true :procname: val_as_bool - :long_name: config :description: Read configuration file :arg_name: PATH :default: "." :procname: path - :opt_name: debounce_execution :env_var: MDE_DEBOUNCE_EXECUTION :description: debounce_execution :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: tables_into_columns :env_var: MDE_TABLES_INTO_COLUMNS :description: Format tables as columns :arg_name: BOOL :default: true :procname: val_as_bool - :long_name: debug :short_name: d :env_var: MDE_DEBUG :description: Debug output :arg_name: BOOL :default: false :procname: debug - :opt_name: default_find_select_open :env_var: MDE_DEFAULT_FIND_SELECT_OPEN :description: default_find_select_open :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: dig :long_name: dig :description: Dig history (Present menu of history) - :opt_name: display_level_xbase_prefix :env_var: MDE_DISPLAY_LEVEL_XBASE_PREFIX :default: "> " :procname: val_as_str - :opt_name: document_configurations_directory :env_var: MDE_DOCUMENT_CONFIGURATIONS_DIRECTORY :description: Directory with files :arg_name: DIRECTORY :default: document_configurations :procname: val_as_str - :opt_name: document_configurations_extension :env_var: MDE_DOCUMENT_CONFIGURATIONS_EXTENSION :description: extension for filenames :arg_name: EXTENSION :default: .sh :procname: val_as_str - :opt_name: document_configurations_glob :env_var: MDE_DOCUMENT_CONFIGURATIONS_GLOB :description: filenames to match :arg_name: GLOB :default: '*.sh' :procname: val_as_str - :opt_name: document_load_opts_block_name :env_var: MDE_DOCUMENT_LOAD_OPTS_BLOCK_NAME :description: Name of Opts block to load with the document :default: "(document_options)" :procname: val_as_str - :opt_name: document_saved_lines_glob :env_var: MDE_DOCUMENT_SAVED_LINES_GLOB :description: Glob for saved lines for a document :arg_name: GLOB :default: document_configurations/%{document_filename}_*.sh :procname: val_as_str - :opt_name: menu_for_saved_lines :env_var: MDE_MENU_FOR_SAVED_LINES :description: Add menu options for saved lines :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_for_history :env_var: MDE_MENU_FOR_HISTORY :description: Add menu options for history :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: dump_blocks_in_file :long_name: dump-blocks-in-file :env_var: MDE_DUMP_BLOCKS_IN_FILE :description: Dump BlocksInFile (stage 1) :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: dump_delegate_object :long_name: dump-delegate-object :env_var: MDE_DUMP_DELEGATE_OBJECT :description: Dump @delegate_object :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: dump_dependencies :long_name: dump-dependencies :env_var: MDE_DUMP_DEPENDENCIES :description: Dump dependencies :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: dump_inherited_block_names :long_name: dump-inherited-block-names :env_var: MDE_DUMP_INHERITED_BLOCK_NAMES :description: Dump inherited block_names :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: dump_inherited_dependencies :long_name: dump-inherited-dependencies :env_var: MDE_DUMP_INHERITED_DEPENDENCIES :description: Dump inherited dependencies :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: dump_inherited_lines :long_name: dump-inherited-lines :env_var: MDE_DUMP_INHERITED_LINES :description: Dump inherited lines :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: dump_menu_blocks :long_name: dump-menu-blocks :env_var: MDE_DUMP_MENU_BLOCKS :description: Dump MenuBlocks (stage 2) :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: dump_selected_block :long_name: dump-selected-block :env_var: MDE_DUMP_SELECTED_BLOCK :description: Dump selected block :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: exception_color_detail :env_var: MDE_EXCEPTION_COLOR_DETAIL :description: Color of exception detail :default: fg_rgbh_ff_00_7f :procname: val_as_str - :opt_name: exception_format_detail :env_var: MDE_EXCEPTION_FORMAT_DETAIL :description: Format for exception detail :default: " - %{detail}\n" :procname: val_as_str - :opt_name: exception_color_name :env_var: MDE_EXCEPTION_COLOR_NAME :description: Color of exception name :default: fg_rgbh_ff_00_00 :procname: val_as_str - :opt_name: exception_format_name :env_var: MDE_EXCEPTION_FORMAT_NAME :description: Format for exception name :default: "\n%{name}" :procname: val_as_str - :opt_name: exclude_by_name_regex :env_var: MDE_EXCLUDE_BY_NAME_REGEX :description: Exclude blocks with name matching :arg_name: REGEX :default: :procname: val_as_str - :opt_name: exclude_by_shell_regex :env_var: MDE_EXCLUDE_BY_SHELL_REGEX :description: Exclude blocks with shell matching :arg_name: REGEX :default: :procname: val_as_str - :opt_name: exclude_expect_blocks :env_var: MDE_EXCLUDE_EXPECT_BLOCKS :description: Hide all blocks of type "expect" :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: execute_command_format :env_var: MDE_EXECUTE_COMMAND_FORMAT :description: AppleScript to execute a command in a window :default: > osascript -e ' on run argv set batch_index to "%{batch_index}" set home to "%{home}" set output_filespec to "%{output_filespec}" set script_filespec to "%{script_filespec}" set title to " %{started_at} - %{document_filename} - %{block_name} " tell application "iTerm" create window with default profile tell the first window tell the current session write text "s=" & quoted form of script_filespec & "" write text "o=" & quoted form of output_filespec & "" write text "cd " & quoted form of home & "" write text "echo -ne \"\\033]; " & title & " \\007\"" write text "\"$s\" %{rest} 2>&1 | tee -a \"$o\"" end tell end tell end tell end run' :procname: val_as_str # execute_command_format using a saved script # - :default: > # osascript scripts/applescript/mde.applescript "%{batch_index}" "%{home}" " %{started_at} - %{document_filename} - %{block_name} " "%{script_filespec}" "%{output_filespec}" %{rest} - :opt_name: execute_command_title_time_format :env_var: MDE_EXECUTE_COMMAND_TITLE_TIME_FORMAT :description: Format for time in window title :default: "%T" :procname: val_as_str - :opt_name: execute_in_own_window :long_name: execute-in-own-window :short_name: w :env_var: MDE_EXECUTE_IN_OWN_WINDOW :description: Execute script in own window :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: execution_report_preview_frame_color :env_var: MDE_EXECUTION_REPORT_PREVIEW_FRAME_COLOR :description: execution_report_preview_frame_color :default: fg_rgbh_7f_ff_00 :procname: val_as_str - :opt_name: execution_report_preview_head :env_var: MDE_EXECUTION_REPORT_PREVIEW_HEAD :description: execution_report_preview_head :procname: val_as_str - :opt_name: execution_report_preview_tail :description: execution_report_preview_tail :default: " -v-" :procname: val_as_str - :long_name: exit :short_name: x :description: Exit app :procname: exit ## match fenced code indented by spaces # - :opt_name: fenced_start_and_end_regex :env_var: MDE_FENCED_START_AND_END_REGEX :description: Matches the start and end of a fenced code block :default: "^(?<indent>[ \t]*)`{3,}" :procname: val_as_str - :opt_name: fenced_start_extended_regex :env_var: MDE_FENCED_START_EXTENDED_REGEX :description: Match the start of a fenced block :default: "^(?<indent>[ \t]*)`{3,}(?<type>[^`\\s]*) *(:(?<name>[^\\s]*))? *(?<rest>.*) *$" :procname: val_as_str - :opt_name: filename :long_name: filename :short_name: f :env_var: MDE_FILENAME :description: Name of the document to load :arg_name: RELATIVE_PATH :compreply: "." :procname: val_as_str - :long_name: find :short_name: "?" :description: Find argument in documents :arg_name: FIND :default: '' :procname: find - :opt_name: find_path :long_name: find-path :env_var: MDE_FIND_PATH :description: Path for find (uses PATH if empty) :arg_name: FIND_PATH :default: '' :procname: val_as_str - :opt_name: heading1_center :env_var: MDE_HEADING1_CENTER :default: true :procname: val_as_bool - :opt_name: heading2_center :env_var: MDE_HEADING1_CENTER :default: true :procname: val_as_bool - :opt_name: heading3_center :env_var: MDE_HEADING1_CENTER :default: true :procname: val_as_bool - :opt_name: heading1_match :env_var: MDE_HEADING1_MATCH :default: "^#(?<line>(?!#)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str - :opt_name: heading2_match :env_var: MDE_HEADING2_MATCH :default: "^##(?<line>(?!#)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str - :opt_name: heading3_match :env_var: MDE_HEADING3_MATCH :default: "^###(?<line>(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str - :long_name: help :short_name: h :description: App help :procname: help - :opt_name: hide_blocks_by_name :env_var: MDE_HIDE_BLOCKS_BY_NAME :description: |- Exclude blocks with name matching expression " \ "`block_name_hidden_match` :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: history :long_name: history :description: History - :opt_name: history_document_separator :env_var: MDE_HISTORY_DOCUMENT_SEPARATOR :default: "|" :procname: val_as_str - :opt_name: history_property_separator :env_var: MDE_HISTORY_PROPERTY_SEPARATOR :default: "&" :procname: val_as_str - :long_name: how :short_name: "?" :description: Find keyword in YAML configuration options :arg_name: HOW :default: '' :procname: how - :opt_name: import_paths :env_var: MDE_IMPORT_PATHS :default: :procname: val_as_str - :opt_name: import_pattern :env_var: MDE_IMPORT_PATTERN :default: "^(?<indention> *)@import +(?<name>.+?) *$" :procname: val_as_str - :opt_name: line_decor_main :env_var: MDE_LINE_DECOR_MAIN :description: Line-oriented text decoration (Main) :default: - :color_method: :bold_underline :pattern: '\*\*_([^_]{0,64})_\*\*' - :color_method: :bold_italic :pattern: '\*\*~([^~]{0,64})~\*\*' - :color_method: :bold :pattern: '\*\*([^*]{0,64})\*\*' - :color_method: :italic :pattern: '`([^`]{0,64})`' - :color_method: :underline :pattern: __([^_]{0,64})__ - :color_method: :underline_italic :pattern: _~([^_]{0,64})~_ - :color_method: strikethrough :pattern: '~~([^~]{0,64})~~' - :opt_name: line_decor_post :env_var: MDE_LINE_DECOR_POST :description: Line-oriented text decoration (Post) :default: [] :procname: val_as_str - :opt_name: line_decor_pre :env_var: MDE_LINE_DECOR_PRE :description: Line-oriented text decoration (Pre) :default: [] :procname: val_as_str - :opt_name: list_blocks :long_name: list-blocks :description: List blocks - :opt_name: list_blocks_eval :long_name: list-blocks-eval :env_var: MDE_LIST_BLOCKS_EVAL :description: Eval block, supercedes Message, for report :arg_name: EVAL :default: :procname: val_as_str - :opt_name: list_blocks_message :long_name: list-blocks-message :env_var: MDE_LIST_BLOCKS_MESSAGE :description: Message to blocks, for report :arg_name: MESSAGE :default: oname :procname: val_as_sym - :opt_name: list_blocks_type :long_name: list-blocks-type :env_var: MDE_LIST_BLOCKS_TYPE :description: Block type to report :arg_name: TYPE :default: 0 :procname: val_as_int - :opt_name: list_count :long_name: list-count :env_var: MDE_LIST_COUNT :description: Max. items to return in list :arg_name: INT.1- :default: 32 :procname: val_as_int - :opt_name: list_default_env :long_name: list-default-env :description: List default configuration as environment variables - :opt_name: list_default_yaml :long_name: list-default-yaml :description: List default configuration as YAML - :opt_name: list_docs :long_name: list-docs :description: List docs in current folder - :opt_name: list_output_format :long_name: format :env_var: MDE_OUTPUT_LIST_FORMAT :description: Format for list :arg_name: FORMAT :default: text :procname: val_as_sym - :opt_name: list_recent_output :long_name: list-recent-output :description: List recent saved output - :opt_name: list_recent_scripts :long_name: list-recent-scripts :description: List recent saved scripts - :opt_name: load_code :long_name: load-code :short_name: l :env_var: MDE_LOAD_CODE :description: Load code :arg_name: PATH :default: '' :procname: val_as_str - :opt_name: logged_stdout_filename_prefix :env_var: MDE_LOGGED_STDOUT_FILENAME_PREFIX :description: Name prefix for stdout files :arg_name: PREFIX :default: mde :procname: val_as_str - :opt_name: md_filename_glob :env_var: MDE_MD_FILENAME_GLOB :default: "*.[Mm][Dd]" :procname: val_as_str - :opt_name: md_filename_match :env_var: MDE_MD_FILENAME_MATCH :default: ".+\\.md" :procname: val_as_str - :opt_name: menu_back_at_top :env_var: MDE_MENU_BACK_AT_TOP :description: Display Back option at top of menu (vs bottom) :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_bash_color :env_var: MDE_MENU_BASH_COLOR :description: Color of menu bash :default: fg_rgbh_00_c0_c0 :procname: val_as_str - :opt_name: menu_blocks_with_docname :env_var: MDE_MENU_BLOCKS_WITH_DOCNAME :description: Display document name in block selection menu :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: menu_blocks_with_headings :env_var: MDE_MENU_BLOCKS_WITH_HEADINGS :description: Controls whether headings(levels 1,2,3) are displayed in the block selection menu :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_chrome_color :env_var: MDE_MENU_CHROME_COLOR :description: Color of menu chrome :default: fg_rgbh_40_c0_c0 :procname: val_as_str - :opt_name: menu_chrome_format :env_var: MDE_MENU_CHROME_FORMAT :description: format for menu chromes :default: "%{line}" :procname: val_as_str - :opt_name: menu_divider_color :env_var: MDE_MENU_DIVIDER_COLOR :description: Color of menu divider :default: fg_rgbh_80_d0_c0 :procname: val_as_str - :opt_name: menu_divider_format :env_var: MDE_MENU_DIVIDER_FORMAT :description: format for menu dividers and demarcations :default: "-:= %{line} =:-" :procname: val_as_str - :opt_name: menu_divider_match :env_var: MDE_MENU_DIVIDER_MATCH :description: Pattern for topics/dividers in block selection menu :default: "^(?<indent>[ \t]*):::(?<line>(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str - :opt_name: menu_divider_symbol :env_var: MDE_MENU_DIVIDER_SYMBOL :description: Symbol before each divider :default: ">" :procname: val_as_str - :opt_name: menu_edit_color :env_var: MDE_MENU_EDIT_COLOR :description: Color of Edit link :default: fg_rgbh_e0_e0_20 :procname: val_as_str - :opt_name: menu_exit_at_top :env_var: MDE_MENU_EXIT_AT_TOP :description: Display Exit option at top of menu (vs bottom) :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_final_divider :env_var: MDE_MENU_FINAL_DIVIDER :description: closing demarcations for menu :default: :line: "~~~" - :opt_name: menu_heading1_color :env_var: MDE_MENU_HEADING1_COLOR :description: Color for heading 1 in menu :default: fg_bg_rgbh_80_80_c0_10_10_20 :procname: val_as_str - :opt_name: menu_heading1_format :env_var: MDE_MENU_HEADING1_FORMAT :description: format for menu heading1 in menu :default: "%{line}" :procname: val_as_str - :opt_name: menu_heading2_color :env_var: MDE_MENU_HEADING2_COLOR :description: Color for heading 2 in menu :default: fg_bg_rgbh_60_60_c0_10_10_20 :procname: val_as_str - :opt_name: menu_heading2_format :env_var: MDE_MENU_HEADING2_FORMAT :description: format for menu heading2 in menu :default: "%{line}" :procname: val_as_str - :opt_name: menu_heading3_color :env_var: MDE_MENU_HEADING3_COLOR :description: Color for heading 3 in menu :default: fg_bg_rgbh_40_40_c0_10_10_20 :procname: val_as_str - :opt_name: menu_heading3_format :env_var: MDE_MENU_HEADING3_FORMAT :description: format for menu heading3 in menu :default: "%{line}" :procname: val_as_str - :opt_name: menu_history_color :env_var: MDE_MENU_HISTORY_COLOR :description: Color of History link :default: fg_rgbh_e0_e0_20 :procname: val_as_str - :opt_name: menu_import_level_match :env_var: MDE_MENU_IMPORT_LEVEL_MATCH :description: Import levels for blocks to appear in menu. Empty is all. :default: '0' :procname: val_as_str - :opt_name: menu_include_imported_blocks :env_var: MDE_MENU_INCLUDE_IMPORTED_BLOCKS :description: Include imported blocks in menu :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_include_imported_notes :env_var: MDE_MENU_INCLUDE_IMPORTED_NOTES :description: Whether imported blocks should be included in the menu :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: menu_inherited_lines_at_top :env_var: MDE_MENU_INHERITED_LINES_AT_TOP :description: Display inherited lines at top of menu (vs bottom) :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_inherited_lines_color :env_var: MDE_MENU_INHERITED_LINES_COLOR :description: Color of inherited lines in menu :default: fg_rgbh_94_00_D3 :procname: val_as_str - :opt_name: menu_inherited_lines_edit_always :env_var: MDE_INHERITED_LINES_EDIT_ALWAYS :description: Display Edit option always (when no lines exist) :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: menu_inherited_lines_format :env_var: MDE_MENU_INHERITED_LINES_FORMAT :description: format for inherited lines in menu :default: "%{line}" :procname: val_as_str - :opt_name: menu_initial_divider :env_var: MDE_MENU_INITIAL_DIVIDER :description: opening demarcation for menu :default: :line: '' - :opt_name: menu_link_color :env_var: MDE_MENU_LINK_COLOR :description: Color of menu link :default: fg_rgbh_e0_e0_20 :procname: val_as_str - :opt_name: menu_link_format :env_var: MDE_MENU_LINK_FORMAT :description: format for menu link :default: "%{line}" :procname: val_as_str - :opt_name: menu_load_at_top :env_var: MDE_MENU_LOAD_AT_TOP :description: Display Load option at top of menu (vs bottom) :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: menu_load_color :env_var: MDE_MENU_LOAD_COLOR :description: Color of Load link :default: fg_rgbh_e0_e0_20 :procname: val_as_str - :opt_name: menu_note_color :env_var: MDE_MENU_NOTE_COLOR :description: Color of menu note :default: fg_rgbh_c0_c0_c0 :procname: val_as_str - :opt_name: menu_note_format :env_var: MDE_MENU_NOTE_FORMAT :description: format for menu notes :default: "%{line}" :procname: val_as_str ## lines that start with "/" are comments (hidden), not notes (visible) # - :default: "^(?<indent>[ \t]*)(?<line>(?!/)(?<text>.*?)(?<trailing>[ \t]*))?$" - :opt_name: menu_note_match :env_var: MDE_MENU_NOTE_MATCH :description: Pattern for notes in block selection menu :default: "^(?<line>(?![ \t]*/)(?<text>.*?)(?<trailing>[ \t]*))$" :procname: val_as_str - :opt_name: menu_option_back_name :env_var: MDE_MENU_OPTION_BACK_NAME :description: Text for Back option :default: :line: "* Back" - :opt_name: menu_option_edit_name :env_var: MDE_MENU_OPTION_EDIT_NAME :description: Text for Edit option :default: :line: "* Edit" - :opt_name: menu_option_exit_name :env_var: MDE_MENU_OPTION_EXIT_NAME :description: Text for Exit option :default: :line: "* Exit" - :opt_name: menu_option_history_name :env_var: MDE_MENU_OPTION_HISTORY_NAME :description: Text for History option :default: :line: "* History" - :opt_name: menu_option_load_name :env_var: MDE_MENU_OPTION_LOAD_NAME :description: Text for Load option :default: :line: "* Load" - :opt_name: menu_option_save_name :env_var: MDE_MENU_OPTION_SAVE_NAME :description: Text for Save option :default: :line: "* Save" - :opt_name: menu_option_shell_name :env_var: MDE_MENU_OPTION_SHELL_NAME :description: Text for Shell option :default: :line: "! Shell" - :opt_name: menu_option_view_name :env_var: MDE_MENU_OPTION_VIEW_NAME :description: Text for View option :default: :line: "* View" - :opt_name: menu_opts_color :env_var: MDE_MENU_OPTS_COLOR :description: Color of menu opts :default: fg_rgbh_ff_00_ff :procname: val_as_str - :opt_name: menu_opts_set_color :env_var: MDE_MENU_OPTS_SET_COLOR :description: Color of menu opts :default: fg_rgbh_7f_00_ff :procname: val_as_str - :opt_name: menu_opts_set_format :env_var: MDE_MENU_OPTS_SET_FORMAT :description: format for menu opts output :default: "%{key} = %{value}\n" :procname: val_as_str - :opt_name: menu_persist_block_name :env_var: MDE_MENU_PERSIST_BLOCK_NAME :description: Block name to display menu :default: "." :procname: val_as_str - :opt_name: menu_resize_terminal :env_var: MDE_MENU_RESIZE_TERMINAL :description: Resize terminal when displaying menu. :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_save_color :env_var: MDE_MENU_SAVE_COLOR :description: Color of Save link :default: fg_rgbh_ff_ff_20 # :default: fg_rgbh_e0_e0_20 :procname: val_as_str - :opt_name: menu_table_rows_match :env_var: MDE_MENU_TABLE_ROWS_MATCH :description: Pattern for table rows :default: '^(?<line>[ \t]*(?<text>\|.*?)(?<trailing>[ \t]*))$' :procname: val_as_str - :opt_name: menu_task_color :env_var: MDE_MENU_TASK_COLOR :description: Color of menu task :default: fg_rgbh_ff_ff_ff :procname: val_as_str - :opt_name: menu_task_format :env_var: MDE_MENU_TASK_FORMAT :description: format for menu tasks and demarcations :default: "%{name} [%{status}]" :procname: val_as_str - :opt_name: menu_task_match :env_var: MDE_MENU_TASK_MATCH :description: Pattern for tasks :default: "^ *\\[(?<status>.{1,4})\\] *(?<name>.*) *$" :procname: val_as_str - :opt_name: menu_task_symbol :env_var: MDE_MENU_TASK_SYMBOL :description: Symbol before each task :default: ">" :procname: val_as_str - :opt_name: menu_vars_color :env_var: MDE_MENU_VARS_COLOR :description: Color of menu vars :default: fg_rgbh_ff_a0_ff :procname: val_as_str - :opt_name: menu_vars_set_color :env_var: MDE_MENU_VARS_SET_COLOR :description: Color of menu vars :default: fg_rgbh_00_ff_ff :procname: val_as_str - :opt_name: menu_vars_set_format :env_var: MDE_MENU_VARS_SET_FORMAT :description: format for menu vars output :default: "%{key} = %{value}\n" :procname: val_as_str - :opt_name: menu_with_back :env_var: MDE_MENU_WITH_BACK :description: Display Back option in menu :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_with_exit :env_var: MDE_MENU_WITH_EXIT :description: Display Exit option in menu :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: menu_with_inherited_lines :env_var: MDE_MENU_WITH_INHERITED_LINES :description: Display inherited lines in menu :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: menu_with_shell :env_var: MDE_MENU_WITH_SHELL :description: Display Shell option in menu :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: mine :long_name: mine :description: Mine history (List lines matched by probe) - :opt_name: no_chrome :env_var: MDE_NO_CHROME :description: Hide decorative menu entries :arg_name: BOOL :default: false :procname: val_as_bool - :long_name: open :short_name: o :description: Find argument in documents, present list, and open user selection :arg_name: OPEN :default: '' :procname: open - :opt_name: output_assignment_begin :env_var: MDE_OUTPUT_ASSIGNMENT_BEGIN :description: Expression to match to start collecting lines :default: :procname: val_as_str - :opt_name: output_assignment_end :env_var: MDE_OUTPUT_ASSIGNMENT_END :description: Expression to match to stop collecting lines :default: :procname: val_as_str - :opt_name: output_assignment_format :env_var: MDE_OUTPUT_ASSIGNMENT_FORMAT :description: Format for assignments from output :default: "%{line}" :procname: val_as_str - :opt_name: output_assignment_match :env_var: MDE_OUTPUT_ASSIGNMENT_MATCH :description: Pattern for assignments from output :default: "^ *(?<line>\\w+=.*?) *$" :procname: val_as_str - :opt_name: output_execution_summary :env_var: MDE_OUTPUT_EXECUTION_SUMMARY :description: Display summary for execution :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: output_execution_label_format :env_var: MDE_OUTPUT_EXECUTION_LABEL_FORMAT :description: format for menu dividers and demarcations :default: "%{name}: %{value}" :procname: val_as_str - :opt_name: output_execution_label_name_color :env_var: MDE_OUTPUT_EXECUTION_LABEL_NAME_COLOR :description: Color of output_execution_label_name :default: fg_rgbh_00_ff_00 :procname: val_as_str - :opt_name: output_execution_label_value_color :env_var: MDE_OUTPUT_EXECUTION_LABEL_VALUE_COLOR :description: Color of output_execution_label_value :default: fg_rgbh_00_ff_00 :procname: val_as_str - :opt_name: output_execution_report :env_var: MDE_OUTPUT_EXECUTION_REPORT :description: Output execution report at end of execution :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: output_saved_script_filename :env_var: MDE_OUTPUT_SAVED_SCRIPT_FILENAME :description: Output saved script filename at end of execution :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: output_script :long_name: output-script :env_var: MDE_OUTPUT_SCRIPT :description: Display script prior to execution :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: output_stdout :long_name: output-stdout :env_var: MDE_OUTPUT_STDOUT :description: Whether standard output from execution is displayed :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: output_viewer_options :env_var: MDE_OUTPUT_VIEWER_OPTIONS :description: Options for viewing saved output file :procname: val_as_str - :opt_name: path :long_name: path :short_name: p :env_var: MDE_PATH :description: Path to documents :arg_name: RELATIVE_PATH :default: "." :procname: val_as_str - :opt_name: pause_after_script_execution :long_name: pause-after-script-execution :env_var: MDE_PAUSE_AFTER_SCRIPT_EXECUTION :description: Whether to pause after manually executing a block and the next menu :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: probe :long_name: probe :env_var: MDE_PROBE :description: Probe history (Filter history to files with lines matching a pattern) :procname: val_as_str - :opt_name: prompt_after_script_execution :env_var: MDE_PROMPT_AFTER_SCRIPT_EXECUTION :description: Prompt after manually executing a block and the next menu :default: "\nContinue?" :procname: val_as_str - :opt_name: prompt_approve_block :env_var: MDE_PROMPT_APPROVE_BLOCK :description: Prompt to approve a block :default: "\nProcess?" :procname: val_as_str - :opt_name: prompt_color_after_script_execution :env_var: MDE_PROMPT_COLOR_AFTER_SCRIPT_EXECUTION :description: Color of prompt after script execution :default: fg_rgbh_00_ff_00 :procname: val_as_str - :opt_name: prompt_debounce :env_var: MDE_PROMPT_DEBOUNCE :description: Prompt to debounce :default: "\nRepeat this block?" :procname: val_as_str - :opt_name: prompt_enter_filespec :env_var: MDE_PROMPT_ENTER_FILESPEC :description: Prompt to enter a filespec :default: 'Name? ' :procname: val_as_str - :opt_name: prompt_exit :env_var: MDE_PROMPT_EXIT :description: Prompt to exit app :default: Exit :procname: val_as_str - :opt_name: prompt_filespec_back :env_var: MDE_PROMPT_FILESPEC_BACK :description: User wants out of menu :default: Back :procname: val_as_str - :opt_name: prompt_filespec_facet :env_var: MDE_PROMPT_FILESPEC_FACET :description: User wants to tailor the menu :default: Facet :procname: val_as_str - :opt_name: prompt_filespec_other :env_var: MDE_PROMPT_FILESPEC_OTHER :description: User wants a custom file name :default: Other :procname: val_as_str - :opt_name: prompt_no :env_var: MDE_PROMPT_NO :description: Prompt for no :default: 'No' :procname: val_as_str - :opt_name: prompt_save_script :env_var: MDE_PROMPT_SAVE_SCRIPT :description: Prompt to save script :default: Save script :procname: val_as_str - :opt_name: prompt_script_to_clipboard :env_var: MDE_PROMPT_SCRIPT_TO_CLIPBOARD :description: Prompt to copy script to clipboard :default: Copy script to clipboard :procname: val_as_str - :opt_name: prompt_select_block :env_var: MDE_PROMPT_SELECT_BLOCK :description: Prompt to select a block :default: "\nChoose a block:" :procname: val_as_str - :opt_name: prompt_select_code_file :env_var: MDE_PROMPT_SELECT_CODE_FILE :description: Prompt to select a file with inherited lines :default: "\nChoose a file:" :procname: val_as_str - :opt_name: prompt_select_history_file :env_var: MDE_PROMPT_SELECT_HISTORY_FILE :description: Prompt to select a saved asset :default: "\nView file:" :procname: val_as_str - :opt_name: prompt_select_md :env_var: MDE_PROMPT_SELECT_MD :description: Prompt to select a markdown document :default: "\nChoose a file:" :procname: val_as_str - :opt_name: prompt_select_output :env_var: MDE_PROMPT_SELECT_OUTPUT :default: "\nChoose a file:" :description: Prompt to select a saved file :procname: val_as_str - :opt_name: prompt_show_expr_format :env_var: MDE_PROMPT_SHOW_EXPR_FORMAT :description: prompt_show_expr_format :default: 'Expr: %{expr}' :procname: val_as_str - :opt_name: prompt_uninterrupted :env_var: MDE_PROMPT_UNINTERRUPTED :description: Uninterrupted execution :default: Uninterrupted :procname: val_as_str - :opt_name: prompt_yes :env_var: MDE_PROMPT_YES :description: Prompt for yes :default: 'Yes' :procname: val_as_str - :opt_name: publish_block_name_format :env_var: MDE_PUBLISH_BLOCK_NAME_FORMAT :description: format for block name published :default: "%{time} Blc %{document} / %{block}\n" :procname: val_as_str - :opt_name: publish_document_file_mode :long_name: publish-document-file-mode :env_var: MDE_PUBLISH_DOCUMENT_FILE_MODE :description: Published file mode (fifo/append/write) :default: fifo :procname: val_as_str - :opt_name: publish_document_file_name :long_name: publish-document-file-name :env_var: MDE_PUBLISH_DOCUMENT_FILE_NAME :description: File path for publishing :default: '' :procname: val_as_str - :opt_name: publish_document_name_format :env_var: MDE_PUBLISH_DOCUMENT_NAME_FORMAT :description: format for document name published :default: "%{time} Doc %{document}\n" :procname: val_as_str - :opt_name: publish_time_format :env_var: MDE_PUBLISH_TIME_FORMAT :description: Format for time in published messages :default: "%FT%TZ" :procname: val_as_str - :opt_name: pwd :long_name: pwd :description: Print the gem's home directory - :opt_name: run_last_script :long_name: run-last-script :description: Run most recently saved script :procname: val_as_bool - :opt_name: runtime_exception_error_level :description: Runtime exception error level (warn if < 0, ignore if 0, abort if > 0) :default: 1 :env_var: MDE_RUNTIME_EXCEPTION_ERROR_LEVEL :procname: val_as_int - :opt_name: saved_asset_format :env_var: MDE_SAVED_ASSET_FORMAT :description: Format for script and log file names :default: "%{prefix}%{join}%{time}%{join}%{filename}%{join}%{mark}%{join}%{blockname}%{join}%{exts}" :procname: val_as_str - :opt_name: saved_asset_match :env_var: MDE_SAVED_ASSET_MATCH :description: Regexp for script and log file names :default: "^(?<prefix>.+)(?<join>_)(?<time>[0-9\\-]+)\\g'join'(?<filename>.+)\\g'join'(?<mark>~)\\g'join'(?<blockname>.+)\\g'join'(?<exts>\\..+)$" :procname: val_as_str - :opt_name: save_executed_script :env_var: MDE_SAVE_EXECUTED_SCRIPT :description: Whether to save an executed script :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: save_execution_output :env_var: MDE_SAVE_EXECUTION_OUTPUT :description: Save standard output of the executed script :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: saved_filename_pattern :env_var: MDE_SAVED_FILENAME_PATTERN :description: Pattern to replace in file names :default: "/" :procname: val_as_str - :opt_name: saved_filename_replacement :env_var: MDE_SAVED_FILENAME_REPLACEMENT :description: Replacement for pattern in file names :default: ",~" :procname: val_as_str - :opt_name: saved_history_format :env_var: MDE_SAVED_HISTORY_FORMAT :description: Format for each row displayed in history :default: "%{time} %{blockname} %{exts}" :procname: val_as_str - :opt_name: saved_script_chmod :env_var: MDE_SAVED_SCRIPT_CHMOD :description: chmod for saved scripts :arg_name: INT :default: 493 :procname: val_as_int - :opt_name: saved_script_filename_prefix :env_var: MDE_SAVED_SCRIPT_FILENAME_PREFIX :description: Name prefix for saved scripts :arg_name: PREFIX :default: mde :procname: val_as_str - :opt_name: saved_script_folder :env_var: MDE_SAVED_SCRIPT_FOLDER :description: Folder where saved scripts are stored :arg_name: RELATIVE_PATH :default: logs :procname: val_as_str - :opt_name: saved_script_glob :env_var: MDE_SAVED_SCRIPT_GLOB :description: Glob matching saved scripts :arg_name: GLOB :default: mde_*.sh :procname: val_as_str - :opt_name: saved_stdout_folder :env_var: MDE_SAVED_STDOUT_FOLDER :description: Saved stdout folder :arg_name: RELATIVE_PATH :default: logs :procname: val_as_str - :opt_name: saved_stdout_glob :env_var: MDE_SAVED_STDOUT_GLOB :description: Glob matching saved outputs :arg_name: GLOB :default: mde_*.out.txt :procname: val_as_str - :opt_name: script_execution_frame_color :env_var: MDE_SCRIPT_EXECUTION_FRAME_COLOR :description: script_execution_frame_color :default: fg_rgbh_00_ff_7f :procname: val_as_str - :opt_name: script_execution_head :env_var: MDE_SCRIPT_EXECUTION_HEAD :description: script_execution_head :default: "\n -^-" :procname: val_as_str - :opt_name: script_execution_tail :env_var: MDE_SCRIPT_EXECUTION_TAIL :description: script_execution_tail :default: " -v-\n" :procname: val_as_str - :opt_name: script_preview_frame_color :env_var: MDE_OUTPUT_DIVIDER_COLOR :description: Color of output divider :default: fg_rgbh_7f_ff_00 :procname: val_as_str - :opt_name: script_preview_head :env_var: MDE_SCRIPT_PREVIEW_HEAD :description: script_preview_head :default: "\n -^-" :procname: val_as_str - :opt_name: script_preview_tail :env_var: MDE_SCRIPT_PREVIEW_TAIL :description: script_preview_tail :default: " -v-\n" :procname: val_as_str - :opt_name: select_by_name_regex :env_var: MDE_SELECT_BY_NAME_REGEX :description: Select blocks with name matching :arg_name: REGEX :default: :procname: val_as_str - :opt_name: select_by_shell_regex :env_var: MDE_SELECT_BY_SHELL_REGEX :description: Select blocks with shell matching :arg_name: REGEX :default: :procname: val_as_str - :opt_name: select_page_cycle :env_var: MDE_SELECT_PAGE_CYCLE :description: Enable cycling past top or bottom :default: true :procname: val_as_bool - :opt_name: select_page_height :env_var: MDE_SELECT_PAGE_HEIGHT :description: 'Maximum # of rows in select list. Detects current limit if not specified.' :default: 0 :procname: val_as_int - :opt_name: shebang :env_var: MDE_SHEBANG :description: Shebang for saved scripts :default: "#!/usr/bin/env" :procname: val_as_str - :opt_name: shell :env_var: MDE_SHELL :description: Shell for launched scripts :default: bash :procname: val_as_str - :opt_name: shell_code_label_format_above :env_var: MDE_SHELL_CODE_LABEL_FORMAT_ABOVE :description: shell_code_label_format_above :default: :procname: val_as_str - :opt_name: shell_code_label_format_below :env_var: MDE_SHELL_CODE_LABEL_FORMAT_BELOW :description: shell_code_label_format_below :default: :procname: val_as_str - :opt_name: shell_code_label_time_format :env_var: MDE_SHELL_CODE_LABEL_TIME_FORMAT :description: Format for time in code lael :default: "%FT%TZ" :procname: val_as_str - :opt_name: shell_parameter_expansion :env_var: MDE_SHELL_PARAMETER_EXPANSION :description: Whether saved file names include shell parameter expansion :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: sift :long_name: sift :env_var: MDE_SIFT :description: Sift history (Filter history to file names matching a pattern) :procname: val_as_str - :opt_name: tab_completions :long_name: tab-completions :description: List tab completions - :opt_name: table_border_color :env_var: MDE_TABLE_BORDER_COLOR :description: Color for table border :default: fg_bg_rgbh_00_00_df_14_18_1c - :opt_name: table_header_row_color :env_var: MDE_TABLE_HEADER_ROW_COLOR :description: Color for table header row :default: fg_bg_rgbh_df_7f_00_14_18_1c - :opt_name: table_parse_regexp :env_var: MDE_TABLE_PARSE_REGEXP :description: Match table for formatting :default: '^[ \t]*\|? *(?::?-+:?) *( *\| *(?::?-+:?) *)*\|? *$' - :opt_name: table_row_color :env_var: MDE_TABLE_ROW_COLOR :description: Color for table row :default: - fg_bg_rgbh_cf_cf_cf_14_18_1c - fg_bg_rgbh_df_df_df_24_24_24 - :opt_name: table_separator_line_color :env_var: MDE_TABLE_SEPARATOR_LINE_COLOR :description: Color for table separator line :default: fg_bg_rgbh_df_df_00_14_18_1c - :opt_name: user_must_approve :long_name: user-must-approve :short_name: q :env_var: MDE_USER_MUST_APPROVE :description: Requires user approval before executing a script :arg_name: BOOL :default: false :procname: val_as_bool - :opt_name: variable_expression_regexp :env_var: MDE_VARIABLE_EXPRESSION_REGEXP :description: variable_expression_regexp :default: "(?<expression>\\${(?<variable>[A-Z0-9a-z_]+)})" :procname: val_as_str - :opt_name: vars_block_filename_view :env_var: MDE_VARS_BLOCK_VIEW :description: Portions of filename to display :arg_name: FORMAT :default: '%{base}' :procname: val_as_str - :opt_name: vars_block_filename_pattern :env_var: MDE_VARS_BLOCK_filename_pattern :description: vars_block_filename_pattern :arg_name: PATTERN :default: '^(?<path>.*/)(?<base>[^/]+?)(?<extension>\.?[^./]*)?$' :procname: val_as_str - :long_name: version :short_name: v :description: Print the gem's version :procname: version - :opt_name: warning_color :env_var: MDE_WARNING_COLOR :description: Color of warning message :default: fg_rgbh_ff_7f_00 :procname: val_as_str - :opt_name: warning_format :env_var: MDE_WARNING_FORMAT :description: Format of warning message :default: 'Error: %{error}' :procname: val_as_str