drush helpfor drush 8x


Print this help message. See `drush help help` for more options.

drush help

  • Arguments


    help accepts 1 argument/s:


    command : A command name, or command alias.

  • Options


    help accepts 19 option/s:


    --sort : Sort commands in alphabetical order. Drush waits for full bootstrap before printing any commands when this option is used.

    --filter : Restrict command list to those commands defined in the specified file. Omit value to choose from a list of names.

    --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


    List all commands.

    drush

    Show only commands defined in devel_generate.drush.inc

    drush --filter=devel_generate

    Show help for one command.

    drush help pm-download

    Show help for one command using an alias.

    drush help dl

    Show an HTML page detailing all available commands.

    drush help --format=html

    All available comamnds, in a machine parseable format.

    drush help --format=json

  • Comments


    comments powered by Disqus