Files
atlantis/server/events/templates/wrapped_err.tmpl
Ross Strickland d620d5de98 Add custom templating support (#2647)
* added custom templates support

* made default templates DRY

* Change init to anonymous function.

* Initialize anonymous function inside var

* - Add flag/cfg param for custom template dir
- Add test for custom template

* Add documentation.

* Address PR comments.

Co-authored-by: Ricard Bejarano <ribejara@thousandeyes.com>
2022-11-11 09:56:33 -06:00

10 lines
132 B
Cheetah

{{ define "wrappedErr" -}}
**{{.Command}} Error**
<details><summary>Show Output</summary>
```
{{.Error}}
```
</details>
{{- end }}