I am scripting a higher level task and using site-install to create a site through my script. I don't see where si can be supplied a path for the site as an argument. It appears that si assumes you are running it in the site to be created.

How about extending it to allow the user to, specify the path to the site?

drush site-install /var/www/mysite .......

Comments

greg.1.anderson’s picture

Version: » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If this feature is still desired, you may copy it to our Github project. For best results, create a Pull Request that has been updated for the master branch. Post a link here to the PR, and please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.