zod-args-parser 2.0.0-beta.0 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,7 +49,7 @@ export type InferArgumentsInputType<T extends Cli | Subcommand> = T["arguments"]
49
49
  * const myCommand = defineSubcommand({ name: "my-command", options: [...] });
50
50
  * type MyCommandOptionsInput = inferOptionsInputType<typeof myCommand>;
51
51
  */
52
- export type inferOptionsInputType<T extends Cli | Subcommand> = T["options"] extends Record<string, Option> ? OptionsInputType<T["options"]> : undefined;
52
+ export type InferOptionsInputType<T extends Cli | Subcommand> = T["options"] extends Record<string, Option> ? OptionsInputType<T["options"]> : undefined;
53
53
  /**
54
54
  * - Infer options, arguments, and positionals input types from the CLI/subcommand definition.
55
55
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod-args-parser",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "description": "A TypeScript-first CLI argument parser with schema-based validation.",
5
5
  "author": "Ahmed ALABSI <alabsi91@gmail.com>",
6
6
  "license": "MIT",
@@ -60,7 +60,7 @@ export type InferArgumentsInputType<T extends Cli | Subcommand> =
60
60
  * const myCommand = defineSubcommand({ name: "my-command", options: [...] });
61
61
  * type MyCommandOptionsInput = inferOptionsInputType<typeof myCommand>;
62
62
  */
63
- export type inferOptionsInputType<T extends Cli | Subcommand> =
63
+ export type InferOptionsInputType<T extends Cli | Subcommand> =
64
64
  T["options"] extends Record<string, Option> ? OptionsInputType<T["options"]> : undefined;
65
65
 
66
66
  /**