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.
npm install node-wp-cli
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.
- All the contributors of
WP-CLI