1
0
Fork
You've already forked beanflags
0
a CLI parsing library for zig
  • Zig 100%
Ben Buhse 20e41bcb2d
Fix boolean flags
A previous commit (02ee057) attempted to verify that boolean flags were
set to false (instead of undefined) when they aren't present. However,
it actually just reset them to false no matter what. This fixes that
regression *and* keeps correctly sets them to false when not present.
2025年03月24日 08:06:25 -05:00
LICENSES The project works! 2024年12月31日 14:13:16 -06:00
src Fix boolean flags 2025年03月24日 08:06:25 -05:00
.gitignore Get some basic parsing sort of working 2024年12月30日 17:44:59 -06:00
build.zig Update for zig 0.14.0 supoort 2025年03月24日 07:00:29 -05:00
build.zig.zon Update for zig 0.14.0 supoort 2025年03月24日 07:00:29 -05:00
README.md Update for zig 0.14.0 supoort 2025年03月24日 07:00:29 -05:00

beanflags

a CLI parsing library for zig

This project is a fork of Isaac Freund's flags.zig. I just added a distinction between short and long flags as well as some parsing built into the library.

License

flags.zig is distributed under a BSD Zero Clause license. beanflags is distributed under the European Union Public Licence version 1.2.