Version 1
[yaffs-website] / vendor / drupal / console / templates / gitbook / available-commands.md.twig
diff --git a/vendor/drupal/console/templates/gitbook/available-commands.md.twig b/vendor/drupal/console/templates/gitbook/available-commands.md.twig
new file mode 100644 (file)
index 0000000..a9791ba
--- /dev/null
@@ -0,0 +1,32 @@
+# {{ application.messages.title }}
+
+**{{ application.messages.note }}:** {{ application.messages.note_description }}.
+
+{{ application.messages.command }} | {{ application.messages.details }}
+------------ | -------------
+{% for namespace in application.namespaces %}
+{% if namespace != 'none' %}
+**{{ namespace }}**  |
+{% endif %}
+{% for command in commands[namespace] %}
+[{{ command.name }}]({{ command.name|replace(':','-') }}.md) | {{ command.description }}
+{% endfor %}
+{% endfor %}
+{% if application.options|length>0 %}
+
+## {{ application.messages.options }}
+{{ application.messages.option }} | {{ application.messages.details }}
+-------|-------------
+{% for option in application.options %}
+--{{ option.name }} | {{ option.description }}
+{% endfor %}
+{% endif %}
+{% if application.arguments|length>0 %}
+
+## {{ application.messages.arguments }}
+{{ application.messages.argument }} | {{ application.messages.details }}
+---------|-------------
+{% for argument in application.arguments %}
+{{ argument.name }} | {{ argument.description }}
+{% endfor %}
+{% endif %}