pivotal-cf/texplate

Name: texplate

Owner: Pivotal Cloud Foundry

Description: null

Created: 2017-12-18 21:32:58.0

Updated: 2018-01-26 22:08:09.0

Pushed: 2018-03-07 23:50:43.0

Homepage: null

Size: 9344

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

texplate - CLI wrapper around Golang text/template package
texplate execute -h

es Golang's text/template syntax
cludes Sprig template helpers
e input files must contain a map in YAML/JSON format
e template file format is flexible if '--output-format=preserve', otherwise the template must be YAML/JSON

e:
xplate execute <template.yml> [flags]

s:
, --help                     help for execute
, --input-file stringSlice   (optional) an input file containing key-value pair to interpolate into the template
, --output-format string     (optional) renders interpolated template in the given format. Accepts 'preserve', 'yaml', or 'json' (default "preserve")
Included helper functions:

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.