Skip to content
/ templates Public

Simple but flexible parameterization of JSON and YAML documents

License

Notifications You must be signed in to change notification settings

koki/templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple but flexible parameterization of JSON and YAML documents

scripts/build and scripts/test to build and to test.

what it does

templates takes a set of name, value pairs (the "parameters") from one JSON/YAML document and replaces ${name} with value in another JSON/YAML document (the "template"). For example template and parameter files, see the yamls and jsons folders and the [json|yaml]/replace_test.go files.

Note that value can itself be a structured JSON/YAML object, not just a scalar like string or number.

For development, you may use go install and then templates to run the executable. This project uses cobra, so running templates in the command line will present more specific usage instructions.

About

Simple but flexible parameterization of JSON and YAML documents

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published