Use drush status to figure out drupal root #2

Closed
barraponto opened this Issue Apr 14, 2011 · 1 comment

Projects

None yet

3 participants

@barraponto

Instead of going though all the loops and hoops of https://github.com/nuvoleweb/drush_alias/blob/master/drush-alias.txt#L28-41 can't we just use the return value from drush status root --pipe?

@nuvoleweb

Hi,
indeed that would be an option, but as discussed in
http://nuvole.org/blog/2010/nov/09/typing-less-drush-aliases-and-autocompletion
we prefer not to bootstrap the whole PHP stack unless it's really
needed. The same holds for other choices in the package.
Regards,
Andrea Pescetti - Nuvole.

On 13/04/2011 barraponto wrote:

Instead of going though all the loops and hoops of
https://github.com/nuvoleweb/drush_alias/blob/master/drush-alias.txt#L28-41 can't we just use the return value from drush status root --pipe?

@pescetti pescetti closed this Apr 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment