github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/ddl/console/action.templ (about)

     1  {{.Description}}
     2  {{- if ne .Display "failed" }}
     3  
     4  Displaying {{.Display | Bold}}
     5  {{- end }}
     6  {{- if .Input }}
     7  
     8  {{Bold "Inputs:"}}
     9          {{- range $key, $value := .Input }}
    10  
    11    {{ Bold $key }}:
    12  {{RenderConsole $value 4}}
    13          {{- end }}
    14  {{- end}}
    15  
    16  {{Bold "Outputs:"}}
    17  {{ range $key, $value := .Output }}
    18    {{ Bold $key }}:
    19  {{RenderConsole $value 4}}
    20  {{- end }}