A zero-configuration scaffolding tool for WordPress projects.
-
Install this WP-CLI package:
wp package install bluehost/newfold-wp-cli
From your project root, run the init
command to set up a project-level configuration file.
*Technically, this step is optional. However, it helps to eliminate some prompts as you run make commands.
wp newfold init
Run the make
command to scaffold a new template such as a plugin, theme, etc.
wp newfold make <name>
To get a list of available templates, run:
wp newfold template list
All commands are self-documented by the tool. Simply type an available command followed by the --help
flag for more
details.
Get high-level documentation on available commands:
wp newfold --help
Get documentation for a specific command:
wp newfold init --help
For more thorough documentation, reference the core WP scaffolding tool.