Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX-5182: drush.yml config path relative to site and project root directory #4613

Open
guedressel opened this issue Oct 19, 2022 · 0 comments
Labels
Enhancement A feature or feature request

Comments

@guedressel
Copy link

drushs config path loading "relative to the current working directory" is not robust when a Drupal site is run different environments (with different directory structures and user preferences). Using absolute paths - on the other hand - is also not practical when working on different environments.

Therfore a "project root"- and "site"-shortcut would be handy to describe relative paths rooted from the Drupal site directory.

drush:
  paths:
    config:
      - ${site}/site.drush.yml
      - ${root}/drush/local.drush.yml
      - ${env.HOME}/.drush/config/drush.yml

@guedressel guedressel added the Enhancement A feature or feature request label Oct 19, 2022
@github-actions github-actions bot changed the title drush.yml config path relative to site and project root directory DX-5182: drush.yml config path relative to site and project root directory Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

No branches or pull requests

1 participant