2021-11-18 12:40:02 +00:00
|
|
|
<#macro expectedValues option>
|
|
|
|
<#list ctx.options.getOption(option).expectedValues as expectedValue>
|
|
|
|
* ${expectedValue}
|
|
|
|
</#list>
|
2022-01-20 13:21:23 +00:00
|
|
|
</#macro>
|
|
|
|
|
2022-04-19 06:01:42 +00:00
|
|
|
<#macro list options buildIcon=true>
|
|
|
|
<#if buildIcon>
|
2022-01-20 13:21:23 +00:00
|
|
|
[cols="12a,4,4,1",role="options"]
|
|
|
|
|===
|
|
|
|
| |Type|Default|
|
2022-04-19 06:01:42 +00:00
|
|
|
<#else>
|
|
|
|
[cols="12a,4,4",role="options"]
|
|
|
|
|===
|
|
|
|
| |Type|Default
|
|
|
|
</#if>
|
2022-01-20 13:21:23 +00:00
|
|
|
|
|
|
|
<#list options as option>
|
|
|
|
|
|
|
|
|
[.options-key]#${option.key}#
|
|
|
|
|
|
|
|
[.options-description]#${option.description}#
|
|
|
|
|
|
|
|
[#option-extended-${option.key},role="options-extended"]
|
|
|
|
!===
|
|
|
|
!<#if option.descriptionExtended?has_content>[.options-description-extended]#${option.descriptionExtended!}#</#if>
|
|
|
|
![.options-description-example]#*CLI:* `${option.keyCli}`#
|
|
|
|
![.options-description-example]#*Env:* `${option.keyEnv}`#
|
|
|
|
!===
|
|
|
|
|<#if option.expectedValues?has_content>[.options-type]#${option.expectedValues?join(", ")}#</#if>
|
|
|
|
|
|
|
|
|<#if option.defaultValue?has_content>[.options-default]#${option.defaultValue!}#</#if>
|
|
|
|
|
2022-04-19 06:01:42 +00:00
|
|
|
<#if buildIcon>|<#if option.build>icon:tools[role=options-build]</#if></#if>
|
2022-01-20 13:21:23 +00:00
|
|
|
</#list>
|
|
|
|
|
|
|
|
|===
|
2021-11-18 12:40:02 +00:00
|
|
|
</#macro>
|