- Issue created by @sean_e_dietrich
- Status changed to Needs review
10 months ago 8:27am 17 February 2024 - πΊπΈUnited States sean_e_dietrich Sacramento, CA
I added a drush command that allowed for the following:
drush domain-alias:list
drush domain-alias:add
drush domain-alias:updatedrush domain-alias:delete
drush domain-alias:delete-bulkWith the following, it should give basic CRUD the ability to manage domain aliases via Drush so that domain aliases can be created to use with systems like Tugboat or mostly any other dynamic staging environment where the URL isn't static.
- πΊπΈUnited States sean_e_dietrich Sacramento, CA
I realized that it wasn't super clear on how to test this.
- Download Module
- Install domain and domain_alias modules.
- Must have Drush 11+ installed.
- Add Domain either through UI or using Drush command (drush help domain:add for more info)
- Test all the following commands:
- List out Domain Aliases: drush domain-alias:list
- Add Domain Alias: drush domain-alias:add
- Update Domain Alias: drush domain-alias:update
- Delete a Single Domain Alias: drush domain-alias:delete
- Bulk Delete Aliases for a domain: drush domain-alias:delete-bulk