Skip to content

Commit

Permalink
Fix scaffold package tests command docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Mar 5, 2024
1 parent 1742f66 commit 09ff607
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,11 @@ WP-CLI Behat framework uses Behat ~2.5, which is installed with Composer.
[--force]
Overwrite files that already exist.

**EXAMPLE**
**EXAMPLES**

wp scaffold package-tests /path/to/command/dir/
# Generate files for writing Behat tests.
$ wp scaffold package-tests /path/to/command/dir/
Success: Created package test files.



Expand Down
6 changes: 4 additions & 2 deletions src/ScaffoldPackageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,11 @@ public function package_github( $args, $assoc_args ) {
* [--force]
* : Overwrite files that already exist.
*
* ## EXAMPLE
* ## EXAMPLES
*
* wp scaffold package-tests /path/to/command/dir/
* # Generate files for writing Behat tests.
* $ wp scaffold package-tests /path/to/command/dir/
* Success: Created package test files.
*
* @when before_wp_load
* @subcommand package-tests
Expand Down

0 comments on commit 09ff607

Please sign in to comment.