andreascreten/wp-cli — pull request #80 by spuriousdata (2012-03-10 07:29:16+00:00)
Title: make wp-cli path agnosic

I added some code to make wp-cli path-agnostic:

utils/build-local -- to allow for non-root "installation" and set up of the environment
src/wp-cli/wp-cli.php -- I added two flags:
--wproot :: which can be used anywhere to set WP_ROOT to something other than $(pwd)
wp core download --path :: which can be used to set a target installation directory for wordpress.

I also fixed a bug in src/bin/wp where you were calling 'php -v' rather than '$php -v'