node-wp-cli

0.0.4 • Public • Published

node-wp-cli

npm version dependencies Status

A nodejs wrapper for WP-CLI.

You just need to install this NPM package and WP-CLI will install automatically to your computer without doing any additional step.

Installation

npm install node-wp-cli

Usage

var wpCli = require('node-wp-cli');

wpCli.call('core download', { path: 'myWPSite' }, function(err, resp) {
    if (err) throw err;

    console.log(resp.message);
})

Click here to see all the WP-CLI commands.

Credits

  • All the contributors of WP-CLI

Dependents (4)

Package Sidebar

Install

npm i node-wp-cli

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

11 kB

Total Files

7

Last publish

Collaborators

  • thinkholic