Support for related commands in CLI

This commit is contained in:
John Mulhausen 2017-01-31 18:52:24 -08:00
parent b4f92362b6
commit 232ab64c09
1 changed files with 10 additions and 0 deletions

View File

@ -58,6 +58,16 @@
{% endif %}
{% if site.data[page.datafolder][page.datafile].pname != "docker" %}
## Related commands
| Command | Description |
| ------- | ----------- |{% for command in site.data[page.datafolder][parentdatafile].cname %}{% capture dataFileName %}{{ command | strip | replace: " ","_" }}{% endcapture %}
| [{{ command }}]({{ dataFileName | replace: "docker_","" }}/) | {{ site.data[page.datafolder][dataFileName].short }} |{% endfor %}
{% endif %}
{% if site.data[page.datafolder][page.datafile].long != site.data[page.datafolder][page.datafile].short %}
## Extended description