upgrade sol.enviconfig to include mergeConfig and getDynamicConfig
This commit is contained in:
parent
cdd08a0022
commit
2e64e061af
@ -4,7 +4,7 @@ const nettool = require('sol.nettool')
|
||||
const express = require('express')
|
||||
|
||||
const wo = (global.wo = {
|
||||
envi : require('sol.enviconfig')({
|
||||
envi : require('sol.enviconfig').mergeConfig({
|
||||
commanderOptions: [
|
||||
// 命令行里可以接受的参数。将传给 config.js 里的 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给commander,取值后覆盖掉Config里的同名变量。
|
||||
['protocol', '-P, --protocol <string>', 'Web Server protocol: http|https|httpall.'],
|
||||
|
Loading…
Reference in New Issue
Block a user