A commandline interface for bootstrapping and working with the Wonderpress-flavored WordPress development environment.
Using npm:
$ npm install -g @wndrfl/wonderpress-cli
The Wonderpress CLI provides different commands for many common tasks.
Sets up (or initializes) a "Wonderpress" flavored WordPress Development Environment, configures and installs WordPress, installs various developer tools, and optionally installs a blank Wonderpress boilerplate theme.
Lints the current active WordPress theme against the Wonderpress Coding Standards (which is a slightly modified flavor of the WordPress Coding Standards). Optionally, Wonderpress can attempt to automatically "fix" lightweight issues if the fix
or -f
arguments are passed.
Starts a wizard to aid in the creation of a new README file.
Create a Wonderpress "partial" (both a PHP class and an accompanying view template) within the active Wonderpress-friendly theme.
Starts a web server to run WordPress locally. (uses WP CLI)
Create a Wonderpress custom page template.
The CLI has been tested on the following tools. Please let us know if how it works in your environment!
- Mac OS:
- Terminal.app
- iTerm
- Windows:
- (needs testing, please let us know how it works!)
- Linux:
- (needs testing, please let us know how it works!)
Currently there are no known issues. However, if you experience something, we certainly want to know! Please submit a Github issue.
Copyright (c) 2021 Wonderful Licensed under the MIT license.
- Johnnie Munger [email protected]