This repository contains the default scaffolding templates for the wp forge
command provided by the wp-forge/wp-cli-forge-command
package.
- Make sure WP-CLI is available by running
wp cli version
. - Run
wp package install wp-forge/wp-cli-forge-command
to enable thewp forge
command. - Run
wp forge init
from your project root. *This is optional, but helps to eliminate some prompts as you run make commands. - Run
wp forge make <path>
, where<path>
is the path of a template relative to the root of this repository.
To scaffold the PHP linting GitHub Action, run:
wp forge make github-actions/lint-php