文件操作 - cli-options.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/dotenv/lib/cli-options.js
编辑文件内容
const re = /^dotenv_config_(encoding|path|debug|override|DOTENV_KEY)=(.+)$/ module.exports = function optionMatcher (args) { return args.reduce(function (acc, cur) { const matches = cur.match(re) if (matches) { acc[matches[1]] = matches[2] } return acc }, {}) }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件