- Replaced broken .NET backend with Node.js/Express - Restored original website design with purple gradient hero - Updated homepage and shop pages with Bootstrap 5 responsive design - Disabled GitHub remote sync - all code now stored locally only - Created backup scripts and documentation - All changes saved on Ubuntu server at /var/www/SkyArtShop
18 lines
385 B
JavaScript
18 lines
385 B
JavaScript
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
|
|
}
|