Usage
{{ element.qualified_name }} [COMMAND] [OPTIONS]
Commands
{% for child in element_children %}
{# Drop the first segment of qualified_name (the root command name) to get the correct path #}
{% set qualified_parts = child.qualified_name.split('.') %}
{% set child_path = (qualified_parts[1:] if qualified_parts | length > 1 else []) | join('/') %}
{% set child_url = '/' ~ cli_prefix ~ '/' ~ (child_path ~ '/' if child_path else '') %}
{{ child.name }}
{% if child.description %}
{{ child.description | truncate(100) }}
{% elif child.element_type == 'command-group' %}
{% set child_children = getattr(child, 'children', []) %}
{{ child_children | length }} {{ child_children | length | pluralize('command') }}
{% else %}
No description available
{% endif %}
{% endfor %}