没有合适的资源?快使用搜索试试~ 我知道了~
nim-argparse:Nim的参数解析
共32个文件
nim:7个
md:6个
html:5个
需积分: 5 0 下载量 144 浏览量
2021-05-25
23:30:19
上传
评论
收藏 107KB ZIP 举报
温馨提示
argparse 命令行参数解析库。 它在编译时生成解析器,以便解析的选项具有明确定义的类型。 例子 使用newParser(...)定义期望的参数后,请使用: run(...)来解析和执行您定义的任何run:块。 使用-h / --help时,它将自动显示帮助文本。 parse(...)在不执行的情况下进行解析,使您可以更好地控制发生的情况。 如果未提供任何参数,则两个proc都会解析该进程的命令行。 跑步() import argparse var p = newParser: flag ( "-a" , "--apple" ) flag ( "-b" , help= "Show a banana" ) option ( "-o" , "--output" , help= "Output to this file" ) command ( "somecomma
资源推荐
资源详情
资源评论
收起资源包目录
nim-argparse-master.zip (32个子文件)
nim-argparse-master
argparse.nimble 202B
docs
dochack.js 101KB
argparse.idx 1KB
theindex.html 34KB
argparse.html 65KB
argparse
backend.html 47KB
filler.idx 1KB
macrohelp.html 44KB
macrohelp.idx 3KB
filler.html 22KB
backend.idx 3KB
nimdoc.out.css 34KB
nimdoc.out.css 34KB
.github
workflows
main.yml 734B
tests
config.nims 36B
testBackend.nim 2KB
test1.nim 20KB
testFiller.nim 5KB
src
argparse.nim 11KB
argparse
macrohelp.nim 7KB
filler.nim 3KB
backend.nim 26KB
.gitignore 7B
changes
config.toml 448B
fix-Removed-program-name-20201203-114154.md 55B
fix-Restore-ability-to-20210125-104037.md 53B
README.md 794B
LICENSE.md 1KB
.gitignore 42B
CHANGELOG.md 2KB
README.md 2KB
builddocs.sh 62B
共 32 条
- 1
资源评论
斯里兰卡七七
- 粉丝: 19
- 资源: 4734
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功