{% 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 |
---|---|
{% for type in option.types -%}
{% for alias in option.names -%}
{$ renderOption(option.name, alias, type, option.default, option.enum) $}
{% if not loop.last %}{% endif %} {% endfor -%} {% if not loop.last %} {% endif %} {% endfor -%} |
{$ option.description | marked $} |
{$ subcommand.name $}