CHANGELOG.md in markdown_exec-1.2.0 vs CHANGELOG.md in markdown_exec-1.3.0

- old
+ new

@@ -37,9 +37,70 @@ - [ ] repeat to reload last doc and block - [ ] option to log blended, timeline; stdin, stdout, stderr; labels: prefix and blocks - [ ] ren logged_stdout_filename_prefix to saved_stdout_filename_prefix - [ ] ignore '#' in fenced code blocks +- [ ] write named block, can be included +- [ ] file type per block type +- [ ] file name per block name or specified in quotes ("") +- [ ] overwrite-rules for writing blocks +- [ ] erase-rules for written blocks +- [ ] files to create named at top of script to execute; written prior to start of script + +- [ ] tab completion example ascii demo + +- [ ] reorder help list + +- [ ] parameters or (env vars) in menu +- [ ] config menu or read env vars +- [ ] enable/disable script, output saving per file +- [ ] keep values between runs so same env vars are not prompted +- [ ] move menu data to required file + +- [ ] tab complation for short option names + +- [ ] option to list full menu + +- [ ] task confirmation block option or bash template, env names +- [ ] decoration for menu heading items, template? +- [ ] configuration block `mde_config` anywhere in file +- [ ] configuration block `mde_config` anywhere in folder config file + ```yaml :(mde_config)``` +- [x] fix execution stdin, stdout to allow for ask function +- [ ] fix execution stdin, stdout to allow for tty-prompt + +## [1.3.0] - 2022-07-16 + +### Added + +- Short name `-p` for `--user-must-approve` option + Enable/disable pause for user to review and approve script +- Automatic wrapping for data in blocks of yaml data eg ` ```yaml ` + Data is written to the file named in the fenced block heading +- Data transformations are embedded in the script at every invocation + with arguments to the transformation as stdin and stdout for the `yq` process + eg `export fruit_summary=$(yq e '[.fruit.name,.fruit.price]' fruit.yml)` + for invocation `%(summarize_fruits <fruit.yml >fruit_summary)` + and transformation `[.fruit.name,.fruit.price]` +- Option to extract document text and display it as disabled items in-line with the blocks in the selection menu. + Add options for constants used in parsing. +- [x] yaml processing + - ```yaml :(make_fruit_file) >fruit.yml``` + write to: fruit.yml + - ```yq [summarize_fruits] +(make_fruit_file) <fruit.yml =color_price``` + not included in linear script + read from: fruit.yml + result into var: color_price instead of stdout + - ```bash :show_fruit_yml +(summarize_fruits)``` + include summarize_fruits + output value of var color_price + +### Changed + +- Refactoring + - Run-time menu in YAML file. + - Tap module initialization + ## [1.2.0] - 2022-06-11 ### Added - Options