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
The action handler gets passed a parameter for each argument you declared, and one additional argument which is the command object itself. This command argument has the values for the command-specific options added as properties.
From its description, it sounds like your option expect a value. This might just be a typo in your example, but in case it causes confusion:
I'm getting an issue where a
requiredOption
is undefined, when no value is passed to the command.Code
Args
Result
options is undefined

Expected
I would expect
requiredOption
to be an option that enforces a value, not just the flag to be presentAlso related: #230
Ps: Love the library, it's pretty nice to work with 👍
The text was updated successfully, but these errors were encountered: