@felixarntz/wp-plugins-cli
v0.1.0
Published
CLI with various tools for WordPress plugin maintenance
Readme
@felixarntz/wp-plugins-cli
CLI with various tools for WordPress plugin maintenance.
Available commands
bump-tested-wp
Bumps the Tested Up To WordPress version in the plugin readme and commits the change.
wp-plugins bump-tested-wp /path/to/plugin -version 7.0generate-changelog
Generates a changelog based on the commit history since the last tag.
wp-plugins generate-changelog /path/to/plugin --tag 1.2.3get-plugins
Gets the directories of all plugins within the directory.
wp-plugins get-plugins /path/to/plugins --vendor felixarntzCombine the output with xargs to act on all the plugins in bulk. For example:
wp-plugins get-plugins /path/to/plugins -v felixarntz | xargs -I {} wp-plugins bump-tested-wp {} -v 7.0update-since
Updates "n.e.x.t" tags with the current release version.
wp-plugins update-since /path/to/plugin -version 1.2.0verify-versions
Verifies consistency of versions in a plugin.
wp-plugins verify-versions /path/to/plugin