Command line interface that helps with the deployment of plugins on WordPress.org
Last updated 8 months ago by alessandrotesoro .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install distributewp-cli 
SYNC missed versions from official npm registry.


Command line interface that helps with the deployment of plugins on WordPress.org

oclif Version Downloads/week License

How it works

DistributeWP deploys files and folders on your computer to the WordPress.org plugin's SVN repository. With this tool you can release new versions of plugins, update only the assets folder or update only the readme.txt file.

DistributeWP requires .json file in your plugin's folder which contains all the settings required for deployment. This file can be created by running command distribute-wp init once you've answered a few questions, the configuration file will be automatically created for you.

The CLI will ask you the following questions:

  • What's the slug of your plugin?
  • What's the folder you wish to deploy?
  • Do you wish to deploy plugin's assets too?
  • What's the folder where assets are stored?

Deployment of new releases works by uploading the content of the folder you've specified when answering the 2nd configuration question.


  • SVN on your computer.
  • Preapproved plugin on wordpress.org
  • Node.js


npm install -g distributewp-cli


$ npm install -g distributewp-cli
$ distribute-wp COMMAND
running command...
$ distribute-wp (-v|--version|version)
distributewp-cli/0.1.1 darwin-x64 node-v12.8.1
$ distribute-wp --help [COMMAND]
  $ distribute-wp COMMAND


distribute-wp assets

Updates the plugin's assets on WordPress.org.

  $ distribute-wp assets

See code: src/commands/assets.js

distribute-wp deploy

Release a new version of a WordPress plugin.

  $ distribute-wp deploy

See code: src/commands/deploy.js

distribute-wp help [COMMAND]

display help for distribute-wp

  $ distribute-wp help [COMMAND]

  COMMAND  command to show help for

  --all  see all commands in CLI

See code: @oclif/plugin-help

distribute-wp init

Configure deployment from the current folder.

  $ distribute-wp init

See code: src/commands/init.js

distribute-wp readme

Updates the readme.txt file on WordPress.org.

  $ distribute-wp readme

See code: src/commands/readme.js

Current Tags

  • 0.1.1                                ...           latest (8 months ago)

2 Versions

  • 0.1.1                                ...           8 months ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (2)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |