You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than duplicating lines on each alias, making it harder to improve the configuration, why not output one complete definition and then output others that inherit from the first one and only override the values necessary (uri, remote-host, remote-user)?
The text was updated successfully, but these errors were encountered:
This is a good idea, but I suspect this would be a change that would need to take place in drush itself and not just the terminus plugin. Can you open a ticket there and close this one once you done so. Thanks again for the idea.
This is also not a Terminus question, but rather one for how we generate alias files. You can get said files through Terminus, but it's not making them, just getting them the same way you would in the UI.
That said, I think what @damienmckenna is getting at is clever. There's a lot of repetition in our generated aliases. Given that they are raw PHP, we could so something simpler by defining a skeleton and iterating over that with specific values.
This is worth considering as we think through supporting Drush7 and changing the logic of how we generate alias files generally.
Rather than duplicating lines on each alias, making it harder to improve the configuration, why not output one complete definition and then output others that inherit from the first one and only override the values necessary (uri, remote-host, remote-user)?
The text was updated successfully, but these errors were encountered: