{#-
CLI Command Group Template

Main template for CLI command group documentation.
Extends base template and uses safe error boundaries for all sections.
-#}

{% extends "base/cli_base.md.jinja2" %}

{% from 'macros/safe_macros.md.jinja2' import safe_section %}

{% block content %}
{#- Command description -#}
{% call safe_section("description") %}
  {% include 'cli/partials/command_description.md.jinja2' %}
{% endcall %}

{#- Usage information -#}
{% call safe_section("usage") %}
  {% include 'cli/partials/command_usage.md.jinja2' %}
{% endcall %}

{#- Subcommands listing -#}
{% call safe_section("subcommands") %}
  {% include 'cli/partials/subcommands_list.md.jinja2' %}
{% endcall %}

{#- Global options -#}
{% call safe_section("global_options") %}
  {% include 'cli/partials/command_options.md.jinja2' %}
{% endcall %}

{#- Command examples -#}
{% call safe_section("examples") %}
  {% include 'cli/partials/command_examples.md.jinja2' %}
{% endcall %}
{% endblock %}
