drush core-requirementsfor drush 8x


Provides information about things that may be wrong in your Drupal installation, if any.

drush core-requirements

  • Aliases


    core-requirements has 2 alias/es:


    drush status-report

    drush rq

  • Options


    core-requirements accepts 19 option/s:


    --severity : Only show status report messages with a severity greater than or equal to the specified value.

    --ignore : Comma-separated list of requirements to remove from output. Run with --pipe to see key values to use.

    --format : Select output format. Available: json, csv, html, list, table, var_export, yaml. Default is json.

    --fields : Fields to output.

    --list-separator : Specify how elements in a list should be separated. In lists of lists, this applies to the elements in the inner lists.

    --line-separator : In nested lists of lists, specify how the outer lists ("lines") should be separated.

    --field-labels : Add field labels before first line of data. Default is on; use --no-field-labels to disable.

    --format=json : Javascript Object Notation.

    --format=config : A configuration file in executable php format. The variable name is "config", and the variable keys are taken from the output data array's keys.

    --format=csv : A list of values, one per row, each of which is a comma-separated list of values.

    --format=html : An HTML representation

    --format=labeled-export : A list of php exports, labeled with a name.

    --format=list : A simple list of values.

    --format=php : A serialized php string.

    --format=print-r : Output via php print_r function.

    --format=table : A formatted, word-wrapped table.

    --format=var_export : An array in executable php format.

    --format=variables : A list of php variable assignments.

    --format=yaml : Yaml output format.

  • Examples


    Show all status lines from the Status Report admin page.

    drush core-requirements

    Show only the red lines from the Status Report admin page.

    drush core-requirements --severity=2

    Print out a short report in JSON format, where severity 2=error, 1=warning, and 0/-1=OK

    drush core-requirements --pipe

  • Comments


    comments powered by Disqus