drush core-statusfor drush 8x

Provides a birds-eye view of the current Drupal installation, if any.

drush core-status

  • Aliases

    core-status has 2 alias/es:

    drush status

    drush st

  • Arguments

    core-status accepts 1 argument/s:

    item : Optional.  The status item line(s) to display.

  • Options

    core-status accepts 15 option/s:

    --show-passwords : Show database password.  Defaults to --no-show-passwords.

    --full : Show all file paths and drush aliases in the report, even if there are a lot.

    --project : One or more projects that should be added to the path list

    --format : Select output format. Available: json, list, 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=list : A simple list of values.

    --format=php : A serialized php string.

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

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

    --format=yaml : Yaml output format.

  • Examples

    Show all status lines that contain version information.

    drush core-status version

    A list key=value items separated by line breaks.

    drush core-status --pipe

    Emit just the drush version with no label.

    drush core-status drush-version --pipe

    Emit just the sync Config directory with no label.

    drush core-status config-sync --pipe

  • Comments

    comments powered by Disqus