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.3, I end up with something like this:
{ _: [ 2.3 ] }
I realize if this was an option I could use opts.string to tell minimist to treat my option as a string but looks like there's no way to achieve the same for argument.
What I expect instead:
{ _: [ '2.3' ] }
The text was updated successfully, but these errors were encountered:
Original issue by @whitlockjc at https://github.com/substack/minimist/issues/36
If I invoke my command using
my-command 2.3
, I end up with something like this:I realize if this was an option I could use
opts.string
to tell minimist to treat my option as a string but looks like there's no way to achieve the same for argument.What I expect instead:
The text was updated successfully, but these errors were encountered: