add parse-list.sh to README.md

This commit is contained in:
Trevor Batley 2023-06-02 11:47:11 +10:00
parent 6f67751985
commit 0f1f9c72ec

View File

@ -60,4 +60,17 @@ optional parameters, can appear in any order
* \<force\> will automagically delete an existing repo, otherwise it will prompt * \<force\> will automagically delete an existing repo, otherwise it will prompt
* \<debug\> run in debug mode * \<debug\> run in debug mode
This works whether the repo and local files exist of not (it deletes them if necessary) This works whether the repo and local files exist of not (it deletes them if necessary)
## parse-list.sh
Parse a list of parameters and execute script with those parameters
parse-list.sh <param file> <script> [<noisy> <additional> <additional> <additional>]
* \<param file\> = name of file containing parameters
* \<script\> script to run (e.g. rename-e-smith-pkg.sh)
optional params can appear in any order
* \<noisy\> show line being executed
* \<additional\> additional params to be passed (up to 3) e.g. debug,force,local