diff --git a/src/Handler.php b/src/Handler.php index 6e60d5746526c7a8343e7b4e3b35a3ae44506d92..a30f18bbce98c028922219ea922dfea228afe1af 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -178,6 +178,12 @@ class Handler { 'drushrc.php' => [ 'dest' => $projectRoot . '/drush', ], + 'aliases.yml' => [ + 'dest' => $projectRoot . '/drush', + ], + 'drush.yml' => [ + 'dest' => $projectRoot . '/drush', + ], '.env' => [ 'dest' => $projectRoot, ], diff --git a/templates/aliases.yml.twig b/templates/aliases.yml.twig new file mode 100644 index 0000000000000000000000000000000000000000..16b9e5cc4752175d388977e1597ae6fc8b42c951 --- /dev/null +++ b/templates/aliases.yml.twig @@ -0,0 +1,10 @@ +sites: + {{ projectname }}: + dev: + root: '/var/www/html/{{ webRoot }}' + uri: '{{ projectname }}.docker.localhost:8000' + live: + root: '' + uri: '' + remote-host: '' + remote-user: '' diff --git a/templates/drush.yml.twig b/templates/drush.yml.twig new file mode 100644 index 0000000000000000000000000000000000000000..379175f45d0af67b0b238b39f2d3698f5433ce1e --- /dev/null +++ b/templates/drush.yml.twig @@ -0,0 +1,15 @@ +options: + uri: 'http://{{ projectname }}.docker.localhost:8000'; +command: + sql: + options: + structure-tables: + common: + - 'cache' + - 'cache_*' + - 'history' + - 'search_*' + - 'sessions' + - 'watchdog' + skip-tables: + common: []