Nice solution - we've adopted exactly the same approach (after a number of not-as-elegant solutions, including case statements for picking site details based on the URL used - this showed its failings when we first starting using drush a couple years back) - works a treat. Thanks for publishing these sorts of tips - I'm sure it'll help many avoid those standard traps for young players.
Good solution
Nice solution - we've adopted exactly the same approach (after a number of not-as-elegant solutions, including case statements for picking site details based on the URL used - this showed its failings when we first starting using drush a couple years back) - works a treat. Thanks for publishing these sorts of tips - I'm sure it'll help many avoid those standard traps for young players.