refactor: obtain arguments through process initialization

This commit is contained in:
2026-10-23 11:37:29 +02:00
parent 877ee21579
commit c1e03632ed
5 changed files with 49 additions and 20 deletions
+6
View File
@@ -2,4 +2,10 @@ import "@std/io"
Init :: struct {
io io.Io
args Args
}
#! borrows the argument pointer array and its zero-terminated strings; owns no storage.
Args :: struct {
values [][*;0]u8
}