Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands From/To Structs #4

Merged
merged 4 commits into from
Jun 21, 2023
Merged

Commands From/To Structs #4

merged 4 commits into from
Jun 21, 2023

Conversation

00JCIV00
Copy link
Owner

  • Implemented from() and to() methods that allow Commands to be Converted To and From Structs.
  • Fixed minor issues that allow for Windows x86_64 compatibility.

00JCIV00 added 4 commits June 11, 2023 14:37
- Added `from()` method to Command.zig, Option.zig, and Value.zig to create their corresponding types from a Struct and its Fields.
- Added `FromConfig` to Command.zig to customize the creation of a Command from a Struct.
- Added Support for Parsing and Analyzing Multi-Values.
- Added Support for Generating Multi-Values from Arrays.
- Added `to()` method to Command.zig to convert all Commands, Options, and Values of a Command instance into the given Struct and its corresponding fields.
- Added `ToConfig` to Command.zig to customize the conversion of a Command to a Struct.
- Fixed minor issues for x86_64-windows support.
- Fixed potential `set()` behavior bug in Value.zig.
@00JCIV00 00JCIV00 merged commit 428a868 into main Jun 21, 2023
@00JCIV00 00JCIV00 deleted the cmds_from_to_structs branch June 21, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant