Skip to content
/ consub Public

consub is a simple configuration substitution tool.

License

Notifications You must be signed in to change notification settings

emvi/consub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consub

consub is a simple configuration substitution tool.

Usage

Download the binary from the release section or compile it. Then run:

consub .vars.env output.tpl.txt output.txt

The .vars.env file must be in the following format:

VAR=test

The output.tpl.txt file can then be configured like this:

My ${VAR} configuration!

The resulting output.txt file will look like this:

My test configuration!

License

MIT