And save STDOUT as {STYLESHEETPATH}
And the {STYLESHEETPATH}/taxonomies/zombie-speed.php file should exist
+ Scenario: Scaffold a Custom Post Type and write it to active theme
+ Given a WP install
+
+ When I run `wp scaffold post-type zombie --theme`
+ Then it should run without errors
+
+ When I run `wp eval 'echo STYLESHEETPATH;'`
+ Then it should run without errors
+ And save STDOUT as {STYLESHEETPATH}
+ And the {STYLESHEETPATH}/post-types/zombie.php file should exist
+
# Test for all flags but --label, --theme, --plugin and --raw
Scenario: Scaffold a Custom Taxonomy and attach it to a CPT zombie that is prefixed and has a text domain
Given a WP install
__( 'Speed'
"""
-
-
# Test for all flags but --label, --theme, --plugin and --raw
Scenario: Scaffold a Custom Post Type
Given a WP install