bash-templater icon indicating copy to clipboard operation
bash-templater copied to clipboard

Added -o, --vars-optional args (variables no longer required)

Open svpease opened this issue 5 years ago • 0 comments

When a file is fed to templater.sh to replace variables within the template but the template has no variables to replace, the expected behavior would be to print out the file as is. I've added this new argument to not change existing behavior but allow for the option to no longer require variables within the file. This is handy if you have a folder of files that may or may not need variable substitution.

svpease avatar May 20 '19 16:05 svpease