UNPKG

dalao-proxy

Version:

An expandable HTTP proxy based on the plug-in system for frontend developers with request caching request mock and development!

11 lines (10 loc) 439 B
const { displayViewPlugin } = require('./view-package'); module.exports = function pluginViewCommand(pluginCommand) { pluginCommand .command('view <package>') .description('view package and check plugin detail') .option('--registry <url>', 'override configuration registry') .action(function (package) { displayViewPlugin(package, this.context.plugins, this.context.options); }); };