会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
laremehpe
新随笔
新文章
管理
2023年4月23日
nodejs从命令行获取参数
摘要: //添加参数 let arr = process.argv; const config = { src: "",//添加参数 }; for (let i = 2, len = arr.length; i < len; i += 2) config[arr[i].substring(1)] = arr
阅读全文
posted @ 2023-04-23 15:08 laremehpe
阅读(143)
评论(0)
推荐(0)
编辑