StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/base-cli-process/lib/fields/enable.js

32 lines
620 B

'use strict';
/**
* Enable a configuration setting. Also pass `-c` to save the
* value to the `verb.config` object in package.json.
*
* ```sh
* $ app --enable toc
* ```
* @name enable
* @api public
*/
module.exports = function(app) {
return function(prop, key, config, next) {
if (prop === 'toc') {
app.base.enable('toc.render');
if (config.c === true) {
app.pkg.set('verb.toc', true);
app.pkg.save();
}
} else {
app.base.enable(prop);
if (config.c === true) {
app.pkg.set(prop, true);
app.pkg.save();
}
}
next();
};
};