I am looking for a way to programmatically add a domain alias to a site.

so far I have figured out that I can edit the domain.alias.drushrc.php file and then run a provision-verify on that site and it will add the domain alias to the server configuration

now I am looking for a way to add the domain alias name to the domain.alias.drushrc.php file
using the (drush sa --component='aliases' @domain.com) command returns the text "Array"

any help will be appreciated

Comments

greg.1.anderson’s picture

Status: Active » Fixed

Drush does not have any capability to add information to alias files. You must maintain those yourself.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.