an00/an00.github.io

使用 urfave/cli 解析命令行参数

Opened this issue · 0 comments

an00 commented

https://blog.an00.cn/2022/01/08/%E4%BD%BF%E7%94%A8-urfave-cli-%E8%A7%A3%E6%9E%90%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%8F%82%E6%95%B0/

使用 urfave/cli 解析命令行参数urfave/cli 是一个命令行辅助包,可以设置命令执行的方法。让服务可以根据参数不同,启动不一样的入口,非常方便。 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364