{% macro renderSyntax(container, prefix) -%}
{% for name in container.names %}
Argument | Description |
---|---|
<{$ option.name $}> |
{$ option.description | marked $}
{% if option.subcommands.length -%}
This option can take one of the following sub-commands:
|
Option | Description |
---|---|
{$ renderOption(option.name, option.type, option.default, option.enum) $}
|
{% if option.deprecated %}
{% if option.deprecated === true %}
Deprecated {% else %} {$ ('**Deprecated:** ' + option.deprecated) | marked $} {% endif %} {% endif %} {$ option.description | marked $} {% if option.default !== undefined %}Default: Aliases: {% for alias in option.aliases %}{$ renderOptionName(alias) $}{% if not loop.last %}, {% endif %}{% endfor %} {% endif %} |
{$ subcommand.name $}