keyboardcowboy / drush-diagnostics
Get various diagnostic reports to help troubleshoot and optimize your site.
Package info
github.com/KeyboardCowboy/drush-diagnostics
Type:drupal-drush
pkg:composer/keyboardcowboy/drush-diagnostics
dev-master
2015-05-07 20:00 UTC
Requires
- php: >=5.3.0
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2026-03-01 01:09:27 UTC
README
Drush plugins to generate diagnostic reports of your Drupal site.
Field Reports
drush diag-field-use-report (dfur)
Generate a report listing all fields and number of records per field.
Options
--instance : Count records by field instance instead of grouping by field.
--cols : Add columns from the field_config table. (I.e. --cols=type to get the field type)
Supports output formats
Examples
'drush dfur' => 'List all fields and number of records for each.',
'drush dfur --instance' => 'List all fields by entity type and bundle and number of records per instance.'
'drush dfur --cols=type' => 'Add the "type" col from the field_config table to get the field type.'