github.com/sercand/please@v13.4.0+incompatible/docs/lexicon_entry.html (about) 1 <h3><a name="{{ .Name }}">{{ .Name }}{{ if .Aliases }} / {{ join .Aliases " / " }}{{ end }}</a></h3> 2 3 <p><pre class="rule"><code>{{ .Name }}( 4 {{- range $i, $arg := .Args -}} 5 {{- if gt $i 0 }}, {{ end -}} 6 {{- if not $arg.Required -}} 7 <span class="optional">{{- $arg.Name -}}</span> 8 {{- else -}} 9 {{- $arg.Name -}} 10 {{- end -}} 11 {{- end }})</code></pre></p> 12 13 <p>{{ newlines .Comment }}</p> 14 15 <table> 16 <thead> 17 <tr> 18 <th>Argument</th> 19 <th>Required</th> 20 <th>Type</th> 21 <th></th> 22 </tr> 23 </thead> 24 <tbody> 25 {{ range .Args }} 26 <tr> 27 <td>{{ .Name }}</td> 28 <td>{{ if .Required }}yes{{ end }}</td> 29 <td>{{ join .Types " or " }}</td> 30 <td>{{ newlines .Comment }}</td> 31 </tr> 32 {{ end }} 33 </tbody> 34 </table>