generator-plugin-wp CLI Sub-generator

November 4, 2016 ยท View on GitHub

yo plugin-wp:cli <cli-command>

Creates a skeleton cli file for your plugin and registers a command. Keep in mind this will not protect you from trying to use WP-CLI default commands.