Generator defaults used to resolve tri-state flags with exact-optional semantics.
Logger compatible with console
(must support log
, optional error
).
Optional
postOptional async post-hook called after getDotenv
has run.
Optional
preOptional async pre-hook called before command execution; may mutate options.
Context for composing the Commander
preSubcommand
hook.Remarks
Flags resolved here are set or deleted via setOptionalFlag to preserve exactOptionalPropertyTypes behavior.