Skip to content
/ vsubst Public

Simple variables substitution script (envsubst)

Notifications You must be signed in to change notification settings

jeckep/vsubst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple variables substitution script (envsubst)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published