# Changelog ## [ToDo] - pipe stdin to script - yes/no/write/clipboard/record/edit/history - add confirm block to generated file - present timestamp, result of last exec for each command - user settings - hidden w , w/o () in names - exit in menus - fix regexp in pathnames - tab completion from md file - read file once to allow for tempdoc stream - include md or blocks file - tree display - mde options in md file or included file - include blocks from local md file - save outputs, errors - chmod a+x logged script - exec most recent logged scripts - cmd to list last n - cmd to repeat last ## [Unreleased] ## [0.2.3] - 2022-03 ### Added - `rubocop` checks. - Added optional command-line positional arguments: 1. document file 2. block name e.g. `mde doc1 block1` will execute the block named `block1` in file `doc1`. ### Changed - Naming saved script files: The file name contains the time stamp, document name, and block name. - Renamed folder with fixtures. - Command options: | YAML Name | Environment Variable | Option Name | Default | Purpose | | :--- | :--- | :--- | :--- | :--- | | debug | MDE_DEBUG | `--debug` | False | Output debugging information (verbose) | | filename | MDE_FILENAME | `--filename` | `README.md`* | File name of document | | output_execution_summary | MDE_OUTPUT_STDOUT_SUMMARY | `--output-execution-summary` | False | Display summary for execution | | output_script | MDE_OUTPUT_SCRIPT | `--output-script` | False | Display script | | output_stdout | MDE_OUTPUT_EXECUTION | `--output-stdout` | True | Display standard output from execution | | path | MDE_PATH | `--path` | `.` | Path to document(s) | | save_executed_script | MDE_SAVE_EXECUTED_SCRIPT | `--save-executed-script` | False | Save executed script | | saved_script_folder | MDE_SAVED_SCRIPT_FOLDER | `--saved-script-folder` | `logs` | Saved script folder | | select_page_height | MDE_SELECT_PAGE_HEIGHT | | `12` | Menu page height (maximum) | | user_must_approve | MDE_USER_MUST_APPROVE | `--user-must-approve` | True | Pause to approve execution | - Configuration options: | YAML Name | Environment Variable | Default | | :--- | :--- | :--- | | block_name_excluded_match | MDE_BLOCK_NAME_EXCLUDED_MATCH | `^\(.+\)$` | | block_name_match | MDE_BLOCK_NAME_MATCH | `:(?