Releases: kioz-wang/zargs
Releases · kioz-wang/zargs
v0.15.0-alpha.0
What's Changed
- Fix: [Command]修复对指定了
parseFn的无parse方法结构体仍编译错误的问题 by @kioz-wang in #69 - Feature: 使用
.rawDefault在运行时确认默认值;默认解析器支持std.fs.File/Dirby @kioz-wang in #70 - Feature:
posArgsupports.rawDefault; exportztypemodule; Refactor:destroyby @kioz-wang in #74 - Feature: [ztype]
Open(...)supports stdio, so also supports pipe in Linux by @kioz-wang in #75 - Feature: [ztype] 调整目录结构;新增
OpenLazy在需要时打开或创建文件 by @kioz-wang in #76 - Kioz wang/issue78 by @kioz-wang in #83
- Build: Upgrade to Zig 0.15.1 by @npc1054657282 in #84
New Contributors
- @npc1054657282 made their first contribution in #84
Full Changelog: v0.14.8...v0.15.0-alpha.0
v0.14.8
What's Changed
- API
exitandexitf- very useful in callback function (See zpacker)
- rename in
Argraw_choicestorawChoices
- export modules:
fmt,par- remove
parseAny, use@import("par").anyinstead
- remove
- rename in
CommandsetConfigtoconfigusagetousageStringhelptohelpString
- Feature
- support
Vectortype - colorful usage and help message
- depends zterm
- support
Full Changelog: v0.14.7...v0.14.8
v0.14.7
v0.14.6
Feature:
- support to alias for short and long prefix of options (call
.shortor.longmultiple times) - support to alias for command (call
.alias) .callBackof command would returnSelfinstead (this is more friendly)- support to set
TokenIter's config from command (call.setConfig, see examples/ex-05.custom_config.zig) - show all of enum literal in certain cases
Fix:
- remove
.strip = truefrombuild.zig