https://github.com/wp-forge/scaffolding-templates
The default scaffolding templates for the `wp forge` WP-CLI command.
https://github.com/wp-forge/scaffolding-templates
Last synced: 3 months ago
JSON representation
The default scaffolding templates for the `wp forge` WP-CLI command.
- Host: GitHub
- URL: https://github.com/wp-forge/scaffolding-templates
- Owner: wp-forge
- Created: 2021-07-26T18:26:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-25T11:28:56.000Z (over 4 years ago)
- Last Synced: 2025-04-08T12:49:15.246Z (about 1 year ago)
- Language: SCSS
- Homepage: https://github.com/wp-forge/wp-cli-forge-command
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# WP Forge Scaffolding Templates
This repository contains the default scaffolding templates for the `wp forge` command provided by the [`wp-forge/wp-cli-forge-command`](https://github.com/wp-forge/wp-cli-forge-command) package.
## Usage
- Make sure [WP-CLI](https://wp-cli.org/#installing) is available by running `wp cli version`.
- Run `wp package install wp-forge/wp-cli-forge-command` to enable the `wp 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 `, where `` is the path of a template relative to the root of this repository.
### Example
To scaffold the PHP linting GitHub Action, run:
```shell
wp forge make github-actions/lint-php
```