refactor: obtain arguments through process initialization
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user