How to check number of dependencies between modules in magento 2 by using command line

You can check number of dependencies between modules in magento 2 by using command line:

php bin/magento info:dependencies:show-modules

It will create a file modules-dependencies.csv in the root folder of your website. Sees more details the command line info:dependencies:show-modules by using the command line help or option -h:

php bin/magento info:dependencies:show-modules -h
php bin/magento help info:dependencies:show-modules

Usage:
info:dependencies:show-modules [-o|–output=”…”]

Options:
–output (-o) Report filename (default: “modules-dependencies.csv”)
–help (-h) Display this help message
–quiet (-q) Do not output any message
–verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
–version (-V) Display this application version
–ansi Force ANSI output
–no-ansi Disable ANSI output
–no-interaction (-n) Do not ask any interactive question

Add Comment

Required fields are marked *. Your email address will not be published.