DaVinceDev/ezcli
Zig package for creating small cli apps
EzCli is a package meant for speeding up cli development in zig for small applications.
Check out the main file!
1º Create a zig project and nav to it
2º Go to the release page and copy the url of the package. Example:
<somethingsomethingVx>.zip
3º Do zig fetch --save <url>
4º Add as a dependency:
const ezcli = b.dependency("ezcli", .{ .target = target, .optimize = optimize });
exe.root_module.addImport("ezcli", ezcli.module("ezcli"));
And there you go! Tip: compile without writing any code to make sure it's all OK.
Still under (active) development
Working on multiple commands and flags