{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "meta": {
    "title": "Use wp-cli command to add posts",
    "description": "Blueprint example to add posts via a wp-cli command.",
    "author": "bph",
    "categories": ["Content", "wpcli"]
  },
  "steps": [
    {
      "step": "login",
      "username": "admin",
      "password": "password"
    },
    {
      "step": "installPlugin",
      "pluginZipFile": {
        "resource": "wordpress.org/plugins",
        "slug": "cb-disable-comment-url"
      },
      "options": {
        "activate": true
      }
    },
    {
      "step": "wp-cli",
      "command": "wp post generate --count=12 --post_type=post --post_date=2024-06-04"
    }
  ]
}
