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

distributewp-cli

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.

Requirements

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

Installation

npm install -g distributewp-cli

Usage

$ 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]
USAGE
  $ distribute-wp COMMAND
...

Commands

distribute-wp assets

Updates the plugin's assets on WordPress.org.

USAGE
  $ distribute-wp assets

See code: src/commands/assets.js

distribute-wp deploy

Release a new version of a WordPress plugin.

USAGE
  $ distribute-wp deploy

See code: src/commands/deploy.js

distribute-wp help [COMMAND]

display help for distribute-wp

USAGE
  $ distribute-wp help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

distribute-wp init

Configure deployment from the current folder.

USAGE
  $ distribute-wp init

See code: src/commands/init.js

distribute-wp readme

Updates the readme.txt file on WordPress.org.

USAGE
  $ distribute-wp readme

See code: src/commands/readme.js

Current Tags

  • 0.1.1                                ...           latest (3 months ago)

2 Versions

  • 0.1.1                                ...           3 months ago
  • 0.1.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |