Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.55 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.55 KB

ytt (YAML Templating Tool)

ytt (pronounced spelled out) 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)
    • which 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 templates
  • templates are themselves valid YAML files
    • makes them friendly to existing editors and YAML tools
  • includes sandboxed "fully featured" Python-like programming language
  • allows configuration modularization via functions and libraries

Try it

Try out online playground or download latest binaries from Releases page and run it locally:

ytt -f examples/playground/example-demo/
ytt -f examples/playground/example-demo/ --output-directory tmp/

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

Development

Consult docs/dev.md for build instructions, code structure details.