node-wp-cli Node JS Wrapper for the Wordpress CLI var WP = require('wp-cli'); WP.comment.get(arg,options,function(err,comment){ });