Snippets

The [snippets] table allows you to define reusable pieces of text or scripts that can be included in install actions using the {{snippet}} Handlebars helper.

It is a simple key-value map, where the key is the snippet name and the value is the content.

Example

[snippets]
greet = "echo Hello"
[[install]]
name = "greeter"
install = "{{snippet greet}} World" # Renders to "echo Hello World"