ghfields / rpooler

A guided installation script for zfs rpools
30 stars 6 forks source link

Create "recipe" mode #25

Open ghfields opened 5 years ago

ghfields commented 5 years ago

Create an option that outputs to file and/or screen of the commands generated by the script responses.

ghfields commented 5 years ago

https://unix.stackexchange.com/questions/433801/add-some-dry-run-option-to-script

lloydie commented 5 years ago

This would be an easy patch if each cmd was parsed through an exec function. But it would make the code really ugly.