@wndrfl/wonderpress-cli

2.3.4 • Public • Published

Wonderpress CLI

A commandline interface for bootstrapping and working with the Wonderpress-flavored WordPress development environment.

Table of Contents

  1. Documentation
    1. Installation
    2. Commands
  2. Support
  3. Known issues
  4. License

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

Readme

Keywords

none

Package Sidebar

Install

npm i @wndrfl/wonderpress-cli

Weekly Downloads

0

Version

2.3.4

License

MIT

Unpacked Size

40.4 kB

Total Files

19

Last publish

Collaborators

  • johnnietheblack