@mh-cbon/dscacheutil
v1.0.5
Published
dscacheutil to json
Downloads
7
Readme
dscacheutil
Provides dscacheutil response parsing to JSON.
install
npm i @mh-cbon/dscacheutil --save
usage
var dscacheutil = require('@mh-cbon/dscacheutil')
dscacheutil({q: 'host'}, function (err, code, data) {
process.exitCode = parseInt(code);
if (code!==0) err && console.error(err);
else data && console.log(JSON.stringify(data, null, 2));
});
as a binary
npm i @mh-cbon/dscacheutil -g
jdscacheutil -q host
jdscacheutil -q rpc
jdscacheutil -q user
jdscacheutil -q group
see dscacheutil