Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.