Initial commit: Setup serveur underground et structure

This commit is contained in:
WhyKorp's server
2026-04-30 11:44:03 +00:00
parent 28cbcf258b
commit da221a792c
968 changed files with 175350 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
const re = /^dotenv_config_(encoding|path|quiet|debug|override|DOTENV_KEY)=(.+)$/
module.exports = function optionMatcher (args) {
const options = args.reduce(function (acc, cur) {
const matches = cur.match(re)
if (matches) {
acc[matches[1]] = matches[2]
}
return acc
}, {})
if (!('quiet' in options)) {
options.quiet = 'true'
}
return options
}