title: "Given /^an? (empty|non-existent) ([^\s]+) directory$/" post_status: publish comment_status: open taxonomy: category: - wp-cli-handbook post_tag: - Behat Steps - References - Repos


Given /^an? (empty|non-existent) ([^\s]+) directory$/

创建或删除指定目录。


用法

Scenario: My example scenario
  Given an empty foo-plugin directory
  And a non-existent bar-plugin directory
  ...

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


相关