{% macro renderSyntax(container, prefix) -%}
{% for usage in container.usages %}
Argument | Description | Value Type |
---|---|---|
{$ option.name $} |
{$ option.description | marked $} | {% if option.enum.length > 0 %}{$ renderValues(option.enum) $}{% else %}string{% endif %} |
Option | Description | Value Type | Default Value |
---|---|---|---|
{$ renderOptionName(option.name) $}
|
{% if option.deprecated %}
{% if option.deprecated === true %}
Deprecated {% else %} {$ ('**Deprecated:** ' + option.deprecated) | marked $} {% endif %} {% endif %} {$ option.description | marked $} {% if option.aliases.length %}Aliases: {% for alias in option.aliases %}{$ renderOptionName(alias) $}{% if not loop.last %}, {% endif %}{% endfor %} {% endif %} |
{$ renderOptionValues(option.type, option.enum) $} |
{% if option.default !== undefined and option.default !== '' %}{$ option.default $} {% endif %} |