cli: make the action parser (+foo) generic and reusable

This commit is contained in:
Mitchell Hashimoto
2025-07-08 08:55:34 -07:00
parent 0e8ccc7352
commit 1739418f6f
22 changed files with 549 additions and 298 deletions

View File

@@ -1,7 +1,7 @@
const std = @import("std");
const Allocator = std.mem.Allocator;
const args = @import("args.zig");
const Action = @import("action.zig").Action;
const Action = @import("ghostty.zig").Action;
// Note that this options struct doesn't implement the `help` decl like other
// actions. That is because the help command is special and wants to handle its