跳转到主要内容

Given /^save the (.+) file ([\'].+[^\'])?as \{(\w+)\}$/

Stores the contents of the given file in a variable.


Usage

Scenario: My example scenario
  Given a WP installation with Composer
  And save the {RUN_DIR}/composer.json file as {COMPOSER_JSON}

Behat steps documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.