New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use drush status to figure out drupal root #2

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

Comments

Projects
None yet
3 participants
@barraponto
Copy link

barraponto commented Apr 14, 2011

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?

@ghost

This comment has been minimized.

Copy link
Collaborator

ghost commented Apr 16, 2011

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