wp-cli / scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
MIT License
165 stars 87 forks source link

Add `--woocommerce` flag to `scaffold _s` command #159

Closed CodeProKid closed 6 years ago

CodeProKid commented 6 years ago

Added the new --woocommerce flag to the scaffold _s command.

First time writing behat tests, so hopefully I got them right. The only test I wrote was basically to assert two of the WooCommerce files existed. Not sure if the tests should be more in depth than that, or if there should also be a test to assert the WooCommerce files don't exist when the flag isn't present.

CodeProKid commented 6 years ago

Thanks @schlessera, this has been fixed 👍