Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 731 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 731 Bytes

Docker Build Status Image Size

vsubst - Simple variables substitution script

Script for performing variables substitution from properties file. It can be applied for one file or for directory. It substitutes variables in ${VAR_NAME} format.

Usage

python subst.py --props ./example/secure.properties --src_path ./templates --dst_path ./dist

Docker usage

docker run --rm  -v "$(pwd):/files"  jeckep/vsubst  --props /files/example/secure.properties --src_path /files/templates --dst_path /files/dist

How to test

chmod +x subst.sh
./subst.sh