WP-CLI 命令行手册

title: "给定下载:" post_status: publish comment_status: open taxonomy: category: - wp-cli-handbook post_tag: - Behat Steps - Repos - Data


给定下载:

将多个文件下载到指定目标位置。


使用方法

场景:我的示例场景
  给定下载:
    | 路径                | 网址                                   |
    | {CACHE_DIR}/foo.jpg | https://example.com/foo.jpg           |
    | {CACHE_DIR}/bar.png | https://example.com/another-image.png |

Behat 步骤文档在每次发布时从 WP-CLI 代码库生成。如需改进建议,请提交拉取请求。


相关