Skip to content

Translates a config and templated .props into a normal .props.

License

Notifications You must be signed in to change notification settings

PDXCapstoneF/props-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

props-template

Translates a config and templated .props into a normal Java .props file.

Get started

  1. Get [pipenv].
  2. pipenv install
  3. pipenv check
  4. pipenv shell

Example

$ cat example/template.props example/mapping.json
com.apple.someprops = value
com.apple.foo = $foo
com.apple.biz = $biz
com.apple.untouched = $$untouched
{
	"foo": "bar",
	"biz": "baz"
}
$ python main.py example/template.props example/mapping.json
#Sun Mar 11 17:31:07 PDT 2018
com.apple.someprops=value
com.apple.foo=bar
com.apple.biz=baz
com.apple.untouched=$untouched

About

Translates a config and templated .props into a normal .props.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages