cli-ref: don't show hidden commands

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-06-27 19:23:32 +02:00
parent 2063af1117
commit 27d07224de
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 4 additions and 0 deletions

View File

@ -184,11 +184,13 @@ For example uses of this command, refer to the [examples section](#examples) bel
</thead>
<tbody>
{% for command in controller_data.cname %}
{% unless command.hidden %}
{% capture dataFileName %}{{ command | strip | replace: " ", "_" }}{% endcapture %}
<tr>
<td markdown="span">[{{ command }}]({{ parentPath }}{{ dataFileName | remove_first: "docker_" }}/)</td>
<td markdown="span">{{ site.data[include.datafolder][dataFileName].short }}</td>
</tr>
{% endunless %}
{% endfor %}
</tbody>
</table>
@ -207,11 +209,13 @@ For example uses of this command, refer to the [examples section](#examples) bel
</thead>
<tbody>
{% for command in site.data[include.datafolder][parentdatafile].cname %}
{% unless command.hidden %}
{% capture dataFileName %}{{ command | strip | replace: " ", "_" }}{% endcapture %}
<tr>
<td markdown="span">[{{ command }}]({{ parentPath }}{{ dataFileName | remove_first: "docker_" }}/)</td>
<td markdown="span">{{ site.data[include.datafolder][dataFileName].short }}</td>
</tr>
{% endunless %}
{% endfor %}
</tbody>
</table>