You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way there will be no need to perform Nil-checks since there won't be any potentially missing keys unlike with Hashes.
Not sure how to accomplish this yet. Potentially with the use of macros to dynamically build structs at compile-time. Or, perhaps allow the user to manually define a struct and pass it in to the flags. Haven't looked into it yet.
The text was updated successfully, but these errors were encountered:
It'd be nice if we could figure out a way to use a Struct rather than a Hash for retrieving options from flags. Currently we have to do the following:
It'd be nice if we could simply do the following instead:
This way there will be no need to perform Nil-checks since there won't be any potentially missing keys unlike with Hashes.
Not sure how to accomplish this yet. Potentially with the use of macros to dynamically build structs at compile-time. Or, perhaps allow the user to manually define a struct and pass it in to the flags. Haven't looked into it yet.
The text was updated successfully, but these errors were encountered: