Skip to content
This repository has been archived by the owner. It is now read-only.
[OBSOLETE] A generator for Yeoman to customize the WP Plugin Boilerplate Powered for 1.2.x
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
.gitattributes
.gitignore
.jshintrc
LICENSE
README.md
default-values-example.json
package.json

README.md

generator-wp-plugin-boilerplate-powered

Dependency Status

A generator for Yeoman to customize the WP Plugin Boilerplate Powered.
Release of the boilerplate supported: 1.2.0

Getting Started

What is Yeoman?

Trick question. It's not a thing. It's this guy:

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

$ npm install -g yo

Install the generator

$ npm install -g generator-wp-plugin-boilerplate-powered

NOTE: require git and sed!

How to use it

# Go to the plugin directory of your WP
cd wp-content/plugins
# Run the generator
$ yo wp-plugin-boilerplate-powered
# Force for remove the plugin folder
$ yo wp-plugin-boilerplate-powered force
# Use development version (not perfect)
$ yo wp-plugin-boilerplate-powered dev
# Verbose mode with verbose parameter
$ yo wp-plugin-boilerplate-powered dev verbose
# Or
$ yo wp-plugin-boilerplate-powered verbose

Can generate a config file for reuse it the settings!

If exist a plugin.zip file in the root, the boilerplate is not downloaded

License

MIT License

You can’t perform that action at this time.