Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.42 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.42 KB
Newfold Logo

NewFold WordPress CLI

A zero-configuration scaffolding tool for WordPress projects.

Installation

  1. Install WP-CLI

  2. Install this WP-CLI package:

wp package install bluehost/newfold-wp-cli

Getting Started

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

Documentation

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.