Skip to content

makotokw/cookbook-wp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp-cli Cookbook

This cookbook set up WP-CLI

Requirements

TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.

Attributes

wp-cli::default

Key Type Description Default
['wp-cli']['path'] String Install path '/usr/local/bin/wp'
['wp-cli']['user']['name'] String User to configure ``~/.wp-cli`` 'wp'
['wp-cli']['community_packages'] Array Community Packages to install. Name, git URL, directory path, or .zip file

Usage

wp-cli::default

Just include wp-cli in your node's run_list:

{
  "name":"my_node",
  "wp_cli": {
    "user": {
      "name": "username"
    },
    "community_packages": [
      "wp-cli/server-command:@stable",
      "[email protected]:runcommand/hook.git",
      "google-sitemap-generator-cli.zip"
    ]
  },
  "run_list": [
    "recipe[wp-cli]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Makoto Kawasaki

About

Chef cookbook for WordPress command line interface

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages