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
If I invoke my command using my-command 2.0, I end up with something like this:
{ _: [ 2 ]}
I realize if this was an option I could use opts.string to tell minimist to treat my option as a string but how can I do this for arguments? This is very similar to issue minimist/issues/21 but the difference is that minimist/issues/21 could be fixed using a minimist option while I see no option for minimist arguments.
It is possible to disable the automatic conversion to numbers for positional arguments, and not just for options:
I think worth documenting as it does fill out the control over conversions. (Although it does feel a bit of a trick.)
Background: I didn't realise this was possible until shown in: #51 (comment)
The text was updated successfully, but these errors were encountered: