Skip to content
/ ytt Public
forked from carvel-dev/ytt

YAML templating tool that works on YAML structure instead of text

License

Notifications You must be signed in to change notification settings

hien/ytt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytt (YAML Templating Tool)

ytt is a templating tool that understands YAML structure allowing you to focus on your data instead of how to properly escape it.

Features:

  • templating works on YAML structure (instead of text)
    • eliminates variety of problems such as invalid YAML formatting, escaping, etc.
  • syntactic sugar for single YAML node conditionals and for loops
    • makes it easier to read densely conditioned templated
  • templates are themselves valid YAML files
    • makes them friendly to existing editors and YAML tools
  • includes sandboxed "fully featured" Pythonic programming language
    • compared to what's exposed in go/template for example

Try out online playground or download latest binaries from Releases page (playground is included via ytt playground command).

Docs

Try it

ytt template -R -f examples/playground/example-demo/
ytt template -R -f examples/playground/example-demo/ --output tmp/

See examples/playground/ for examples shown on get-ytt.io.

Development

./hack/build.sh
./hack/test-unit.sh
./hack/test-e2e.sh
./hack/test-all.sh

About

YAML templating tool that works on YAML structure instead of text

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.5%
  • CSS 2.1%
  • JavaScript 1.4%
  • Other 1.0%