osrecio/magento2_sample-command 1.0.1

Command line Magento 2 to show module list

Type

magento2-module

License

OSL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento 2 Sample Command

This sample module creates one new command-line command:

  • magento module:list (displays the list of modules)
  • Accept 2 options
    • -vend|--vendor[="..."]
    • -en|--enabled[="..."] ('y' or 'n')

You can use this sample module as an example to create your own custom commands.