drush versionfor drush 8x

Show drush version.

drush version

  • Options

    version accepts 12 option/s:

    --pipe : Print just the version number, and nothing else.

    --format : Select output format. Available: json, string, 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=php : A serialized php string.

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

    --format=string : A simple string.

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

    --format=yaml : Yaml output format.

  • Comments

    comments powered by Disqus