gtg092x / node-wp-cli

Node JS Wrapper for the Wordpress CLI
MIT License
40 stars 14 forks source link

wp cli check-update #11

Open apermo opened 8 years ago

apermo commented 8 years ago

Hi,

I was trying to use WP.cli.check_update(callback); But it didn't work. It would be pretty neat to have something like

WP.cli.check_update(function(err, res) {
   console.log(res);
});

at the beginning of each call.

Same for WP.core.check_update();