diff --git a/Readme.md b/Readme.md index d11dcfc..9dc4745 100644 --- a/Readme.md +++ b/Readme.md @@ -144,6 +144,7 @@ implemented commands: xdebug:cli:enable, xce Enable cli xdebug xdebug:cli:disable, xcd Disable cli xdebug shell Change shell type for a project + magento, m Call magento command bin/magento or magerun. This command has subcommands. Call jumper magento for more details. ``` # Project config example - jumper.json diff --git a/app/command/magento.go b/app/command/magento.go index c206a33..ee8d3a7 100644 --- a/app/command/magento.go +++ b/app/command/magento.go @@ -33,10 +33,12 @@ func CallMagentoCommand(initf func(bool) string, cfg magentoGlobalConfig, d mage return &cli.Command{ Name: "magento", Aliases: []string{"m"}, + Usage: "Call magento command bin/magento or magerun. This command has subcommands. Call jumper magento for more details.", Subcommands: []*cli.Command{ { Name: "bin/magento", Aliases: []string{"bm"}, + Usage: "It looks for bin/magento command and call it", Action: func(c *cli.Context) error { initf(true) @@ -100,6 +102,7 @@ func CallMagentoCommand(initf func(bool) string, cfg magentoGlobalConfig, d mage { Name: "magerun", Aliases: []string{"mr"}, + Usage: "It looks for magerun2 command and call it", Action: func(c *cli.Context) error { initf(true)