Version 1
[yaffs-website] / vendor / drupal / console / templates / gitbook / available-commands-list.md.twig
diff --git a/vendor/drupal/console/templates/gitbook/available-commands-list.md.twig b/vendor/drupal/console/templates/gitbook/available-commands-list.md.twig
new file mode 100644 (file)
index 0000000..3343a19
--- /dev/null
@@ -0,0 +1,14 @@
+{% for namespace in application.namespaces %}
+{% if not loop.first %}
+{% set last_namespace = namespace %}
+{% endif %}
+{% if last_namespace is defined %}
+
+  {# Empty new line hack #}
+{% endif %}
+{% spaceless %}
+{% for command in commands[namespace] %}
+  * [{{ command.name }}](commands/{{ command.name|replace(':','-') }}.md)
+{% endfor %}
+{% endspaceless %}
+{% endfor %}