@wndrfl/wonderpress-cli
v2.3.4
Published
A commandline interface for bootstrapping and working with the Wonderpress WordPress Development Environment.
Downloads
10
Readme
✨Wonderpress CLI
A commandline interface for bootstrapping and working with the Wonderpress-flavored WordPress development environment.
Table of Contents
Documentation
Installation
Using npm:
$ npm install -g @wndrfl/wonderpress-cli
Commands
The Wonderpress CLI provides different commands for many common tasks.
wonderpress init
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.
wonderpress lint [-f --fix]
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.
wonderpress readme create
Starts a wizard to aid in the creation of a new README file.
wonderpress partial create
Create a Wonderpress "partial" (both a PHP class and an accompanying view template) within the active Wonderpress-friendly theme.
wonderpress server
Starts a web server to run WordPress locally. (uses WP CLI)
wonderpress template create
Create a Wonderpress custom page template.
Support
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!)
Known Issues
Currently there are no known issues. However, if you experience something, we certainly want to know! Please submit a Github issue.
License
Copyright (c) 2021 Wonderful Licensed under the MIT license.
Collaborators
- Johnnie Munger [email protected]