drush shell-aliasfor drush 8x


Print all known shell alias records.

drush shell-alias

  • Aliases


    shell-alias has 1 alias/es:


    drush sha

  • Arguments


    shell-alias accepts 1 argument/s:


    alias : Shell alias to print

  • Options


    shell-alias accepts 12 option/s:


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


    List all alias records known to drush.

    drush shell-alias

    Print the value of the shell alias 'pull'.

    drush shell-alias pull

  • Comments


    comments powered by Disqus