UNPKG

base-cli-process

Version:

Normalizers for common argv commands handled by the base-cli plugin. Also pre-processes the given object with base-cli-schema before calling `.process()`

18 lines (14 loc) 250 B
'use strict'; var fns = require('../fns'); /** * Load engines from a filepath or glob pattern. * * ```sh * $ app --engines="./foo.js" * ``` * @name engines * @api public */ module.exports = function(app) { return fns(app, 'engines'); };