diff --git a/docs/source/templates/command.rst b/docs/source/templates/command.rst index 8345d09..baae3d3 100644 --- a/docs/source/templates/command.rst +++ b/docs/source/templates/command.rst @@ -1,5 +1,13 @@ .. title: {{fullname}} +{% if fullname != 'main' %} +.. click:: {{fullname}}.cli:cmd_{{fullname}} + :prog: kupferbootstrap {{fullname}} + :nested: full + + +{% endif %} + .. click:: {% if fullname == 'main' %}main:cli{% else %}{{fullname}}:cmd_{{fullname}}{% endif %} :prog: kupferbootstrap {{fullname}} :nested: full