-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
feat: allow non-array types #106
Comments
Ah yes, I actually forgot why it was designed to be an array by default 😅 |
It also confuses me...🤔 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type
Expected
I'd like to be able to just specify a type (eg.
String
), without making it an array String (eg.[String]
)I'd like to be able to do:
and get the parsed options:
Actual
Instead, I currently must do
and get the parsed options:
as communicated by the type:
cac/src/Option.ts
Line 5 in f51fc22
Possible Solutions
Info
The text was updated successfully, but these errors were encountered: