More tidying.
[yaffs-website] / vendor / drupal / console / templates / gitbook / command.md.twig
1 # {{ name }}
2 {{ description }}
3
4 **{{ messages.usage }}:**
5 ```
6 $ drupal {{ name }}{% if arguments|length>0 %} [arguments]{% endif %}{% if options|length>0 %} [options]{% endif %}
7
8 {% for alias in aliases %}
9 $ {{ alias }}  
10 {% endfor %}
11 ```
12 {% if options|length>0 %}
13
14 ## {{ messages.options }}
15 {{ messages.option  }} | {{ messages.details }}
16 -------|-------------
17 {% for option in options %}
18 --{{ option.name }} | {{ option.description }}
19 {% endfor %}
20 {% endif %}
21 {% if arguments|length>0 %}
22
23 ## {{ messages.arguments }}
24 {{ messages.argument }} | {{ messages.details }}
25 ---------|-------------
26 {% for argument in arguments %}
27 {{ argument.name }} | {{ argument.description }}
28 {% endfor %}
29 {% endif %}
30 {% if examples|length>0 %}
31
32 ## {{ messages.examples }}
33 {% for example in examples %}
34 * {{ example.description }}
35 ```
36 $ {{ example.execution }}
37 ```
38 {% endfor %}
39 {% endif %}