<div class="tab-panel">
    <div class="tab-nav">
    {{ $commands := index $.Site.Data.zz_cli_help "command" }}
    {{ range $idx, $tab := $commands }}
        <button
            data-tab-item="{{ .title }}"
            data-tab-group="cli-help"
            class="tab-nav-button btn {{ cond (eq $idx 0) "active" ""}}"
            onclick="switchTab('cli-help','{{ .title }}')"
         >{{ .title }}</button>
    {{ end }}
    </div>
    <div class="tab-content">
        {{ range $idx, $tab := $commands }}
        <div
            data-tab-item="{{ .title }}"
            data-tab-group="cli-help"
            class="tab-item {{ cond (eq $idx 0) "active" ""}}"
        >
            <pre>{{ .content }}</pre>
        </div>
        {{ end }}
    </div>
</div>
