Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit ac98239

Browse files
authored
Merge pull request #4908 from atwixfirster/cli-short-command-name
magento/graphql-ce#: Magento CLI. Support short commands name
2 parents 1b120ed + d1fe87f commit ac98239

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_includes/reference/cli-template.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
This reference contains {{ commands | size }} commands available through the `bin/magento` command-line tool.
1111
The initial list is auto generated using `bin/magento list` command at the {{ site.data.var.ce }} edition.
1212

13+
{: .bs-callout-info }
14+
You can call Magento CLI commands using shortcuts instead of the full command name. For example, you can call `bin/magento setup:upgrade` using `bin/magento s:up`, `bin/magento s:upg`, etc. See [shortcut syntax](https://symfony.com/doc/current/components/console/usage.html#shortcut-syntax) to understand how to use shortcuts with any Magento CLI command.
15+
1316
{% for command in commands %}
1417
{% assign arguments = command.definition.arguments %}
1518
{% assign options = command.definition.options %}
@@ -85,4 +88,4 @@ bin/magento {{ command.usage }}
8588
{% endfor %}
8689

8790
{% endunless %}
88-
{% endfor %}
91+
{% endfor %}

0 commit comments

Comments
 (0)