drush core:editfor drush 9x

Edit drushrc, site alias, and Drupal settings.php files.

drush core:edit

  • Aliases

    core:edit has 3 alias/es:

    drush conf

    drush config

    drush core-edit

  • Arguments

    core:edit accepts 1 argument/s:

    filter : A substring for filtering the list of files. Omit this argument to choose from loaded files.

  • Options

    core:edit accepts 5 option/s:


    --editor : editor


    --bg : bg


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    Pick from a list of config/alias/settings files. Open selected in editor.

    drush core:config

    Return to shell prompt as soon as the editor window opens.

    drush --bg core-config

    Edit the global configuration file.

    drush core:config etc

    Edit a particular alias file.

    drush core:config demo.alia

    Edit settings.php for the current Drupal site.

    drush core:config sett

    Edit the second file in the choice list.

    drush core:config --choice=2

  • Comments

    comments powered by Disqus