命令行解析工具
- npm i
- node index
请输入命令: -l true -p 9089 -d test1341234
-l true -p 9089 -d test1341234
请输入要查询的命令,退出请输入exit: l
type: l, value: true
请输入要查询的命令,退出请输入exit: p
type: p, value: 9089
请输入要查询的命令,退出请输入exit: d
type: d, value: test1341234
请输入要查询的命令,退出请输入exit: n
该属性不存在
您查询的命令不存在
请输入要查询的命令,退出请输入exit: exit