Let's start making help real.

This commit is contained in:
Lyssieth 2024-11-28 03:14:52 +02:00
parent e52d3c3915
commit 7c22a46b0d
Signed by untrusted user who does not match committer: lyssieth
GPG key ID: 200268854934CFAB
2 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,8 @@ pub fn Marker(comptime T: type) type {
};
}
pub const help = @import("./help.zig");
/// <https://git.cutie.zone/lyssieth/zither/issues/1>
pub fn parseArgs(comptime T: type, allocator: Allocator) !T {
const args = try std.process.argsAlloc(allocator);

8
src/args/help.zig Normal file
View file

@ -0,0 +1,8 @@
const std = @import("std");
pub fn printHelp(comptime T: type, writer: std.io.AnyWriter) !void {
_ = T;
_ = writer;
return error.NotImplemented;
}