Skip to content

Commit 232ab64

Browse files
Support for related commands in CLI
1 parent b4f9236 commit 232ab64

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

_includes/cli.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@
5858
5959
{% endif %}
6060
61+
{% if site.data[page.datafolder][page.datafile].pname != "docker" %}
62+
63+
## Related commands
64+
65+
| Command | Description |
66+
| ------- | ----------- |{% for command in site.data[page.datafolder][parentdatafile].cname %}{% capture dataFileName %}{{ command | strip | replace: " ","_" }}{% endcapture %}
67+
| [{{ command }}]({{ dataFileName | replace: "docker_","" }}/) | {{ site.data[page.datafolder][dataFileName].short }} |{% endfor %}
68+
69+
{% endif %}
70+
6171
{% if site.data[page.datafolder][page.datafile].long != site.data[page.datafolder][page.datafile].short %}
6272
6373
## Extended description

0 commit comments

Comments
 (0)