cookbook 'wp-cli', '= 0.1.2'
wp-cli (4) Versions 0.1.2 Follow4
Installs wp-cli
cookbook 'wp-cli', '= 0.1.2', :supermarket
knife supermarket install wp-cli
knife supermarket download wp-cli
wp-cli Chef Cookbook
Installs WP-CLI.
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['wp-cli']['dir']</tt></td>
<td>String</td>
<td>The installation dir</td>
<td><tt>/usr/local/share/wp-cli</tt></td>
</tr>
<tr>
<td><tt>['wp-cli']['link']</tt></td>
<td>String</td>
<td>The binary link</td>
<td><tt>/usr/local/bin/wp</tt></td>
</tr>
</table>
Usage
Just include wp-cli
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[wp-cli]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Test your change
- Submit a Pull Request using Github
Author(s)
Rubem Nakamura
License
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
wp-cli CHANGELOG
0.1.2
- [Maks3w] Use /usr/local for binaries and share
- [cimocimocimo] Fixes error with setting node attribute
0.1.1
- [Rubem Nakamura] - Added license and Added metadata.json
0.1.0
- [Rubem Nakamura] - Initial release of wp-cli