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

Issue #18: Feature/multisite commands #19

Merged
merged 6 commits into from
Dec 11, 2024

Conversation

franrou
Copy link
Member

@franrou franrou commented Oct 18, 2024

Fix issue #18

@franrou franrou changed the title Feature/multisite commands Issue #18: Feature/multisite commands Oct 18, 2024
@@ -49,7 +49,7 @@ handle_options() {
while [ $# -gt 0 ]; do
case $1 in
-a | --all)
mapfile -t SITES < <(drush site:alias --fields=name --format=list --filter=.local | sed 's/@//' | sed 's/.local//')
get_sites
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea, but I would rename the get_sites function to something more like ‘set_sites_variable’ or something like that. At least to know that this is generating a global SITES variable.

@juanjol juanjol dismissed their stale review December 11, 2024 12:08

I have already made the changes

@juanjol juanjol merged commit 24431c8 into Metadrop:main Dec 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants