Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

svpease
Copy link

@svpease svpease commented May 20, 2019

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.

johanhaleby and others added 22 commits November 18, 2015 14:18
Add file to read variables from file
Inspired by instruction of installation codker-compose in Ubuntu

> https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-16-04

Tested on Ubuntu 16
The configuration file escape can not be defined and executed function. So I changed the contents of variables to escape.
Change escape position of specific character
…ions-fix

Fix spelling errors in installation instructions
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants