Chassis / puppet-wp

This module enables the easy use of WP CLI to control your WordPress site through Puppet manifests
https://chassis.github.io/puppet-wp/
GNU Lesser General Public License v3.0
44 stars 39 forks source link

Improvements to the CLI class #1

Closed danielbachhuber closed 11 years ago

danielbachhuber commented 11 years ago

To start, install from Github. May refactor other classes to call this class when running a command.

rmccue commented 11 years ago

Long term, I'd like to have a solution that doesn't necessitate having Git to avoid the extra dependency. Given that the PHAR is deprecated though, this is a good middle ground.

:cake:

scribu commented 11 years ago

Long term, I'd like to have a solution that doesn't necessitate having Git to avoid the extra dependency.

Well, WP-CLI depends on Composer, which doesn't need git (for stable versions), so you could copy the relevant parts from the installer:

https://github.com/wp-cli/wp-cli.github.com/blob/b3bb609bc450df48ff7ee2beb89e0388e4bd6895/installer.sh#L62-88

rmccue commented 11 years ago

I believe I tried that at some point, but installing Composer was horrible to automate and/or broke. Might be worth another try.