Skip to content

ParseResult ​

Raw parsed values before resolution (defaults, env, config, etc.).

Flag values are unknown because type coercion happens here but the generic type info lives in the schema builders, not at runtime.

Signatures ​

ts
interface ParseResult {}

Members ​

Properties ​

args ​

Positional arg values keyed by arg name.

ts
args: Readonly<Record<string, unknown>>;

flags ​

Flag values keyed by canonical flag name.

ts
flags: Readonly<Record<string, unknown>>;

See Also ​

Released under the MIT License.