Skip to content
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

manning-ncsa/ytt

 
 

Repository files navigation

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.

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.1%
  • CSS 2.0%
  • JavaScript 1.4%
  • Other 1.5%