sg-diag
v1.0.77
Published
Diagnostics
Downloads
19
Readme
SG Diagnostics
sg.check
const DIAG = sg.DIAG(module);
const dg = DIAG.dg;
//-----------------------------------------------------------------------------------------------------------------------------
// callbackIfied
DIAG.usage({ aliases: { callbackIfied: { args: {
}}}});
DIAG.usefulCliArgs({
});
// The last one wins. Comment out what you dont want.
DIAG.activeDevelopment(`--debug`);
// DIAG.activeName = 'callbackIfied';
/**
* Happy, happy, happy.
*/
mod.xport(DIAG.xport({callbackIfied: function(argv_, context_, callback) {
const {diag, ...context} = context_;
const data = {};
return callback(null, data);
}}));
// ...
// End of file
module.exports.ra_active_fn_name = DIAG.activeName;