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

     1  {{.Description}}
     2  
     3  Display: *{{.Display}}*
     4  
     5  #### Inputs
     6  {{- if .Input }}
     7  
     8  |Input|Description|Prompt|Optional|Validation|Type|Default|
     9  |-----|-----------|------|--------|----------|----|-------|
    10  {{range $name, $input := .Input}}|{{$name}}|{{- RenderMarkdown $input}}{{- end}}
    11  {{- else }}
    12  
    13  The {{.Name}} action has no inputs
    14  {{- end }}
    15  
    16  #### Outputs
    17  
    18  |Output|Description|Display As|Type|
    19  |------|-----------|----------|----|
    20  {{range $name, $output := .Output}}|{{$name}}|{{- RenderMarkdown $output}}{{- end}}