This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import re | |
| import sys | |
| # | |
| # Replace all template variables in input file with configured values | |
| # from the JSON config. Template variables are distiguished by enclosing | |
| # double braces. eg {{ template.variable }}. This would match templatevalue | |
| # in JSON config {"template": {"variable": "templatevalue"}} | |
| # |
OlderNewer