Options (2)
-e, --exclude-dirbooleanCheck the code excluding a comma-separated list of directories
Example:
drupal-check {{[-e|--exclude-dir]}} {{path/to/excluded_directory}},{{path/to/excluded_files/*.php}} {{path/to/directory}}-a, --analysisbooleanPerform static analysis to detect bad coding practices
Example:
drupal-check {{[-a|--analysis]}} {{path/to/directory}}Examples (4)
Check the code in a specific directory for deprecations
drupal-check path/to/directoryCheck the code excluding a comma-separated list of directories
drupal-check [-e|--exclude-dir] path/to/excluded_directory,path/to/excluded_files/*.php path/to/directoryDon't show a progress bar
drupal-check --no-progress path/to/directoryPerform static analysis to detect bad coding practices
drupal-check [-a|--analysis] path/to/directorymade by @shridhargupta | data from tldr-pages