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
I suspect this is a problem in yargs rather than yargs-parser, but I have not tried reproducing yet. It sounds very similar to issues I looked into with interaction of coerce and configuration: yargs/yargs#2308
When specifying a command option (e.g. component-version), it is automatically converted to camel-case in the parsed object (i.e. componentVersion).
When using the strip-dashed option to remove the non camel-case version, yargs fails validation, because the non camel-case option is missing.
Related Code
Instead I get
My expectation would be that parsing succeeds, and yargs recognises the camel-case option.
The text was updated successfully, but these errors were encountered: