-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Add arg support to let the confts read and handle things like node index.ts --port 3000.
Simple addition:
const config = schema({
port: field({
arg: "port",
default: 8080,
type: z.number().nonempty(),
}),
})Might also support multiple arguments:
const config = schema({
port: field({
arg: ["port", "p"],
default: 8080,
type: z.number().nonempty(),
}),
})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels