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
So, it isn't possible to detect what default has what aliases. Would it be better the keys of alias object to be the name format in that case and its value to be its aliases? I believe that defining aliases in minimist (and probably mri) can accept both variants.
I want to merge them in one final object that is the same as "argv", same as the parsed result of mri/minimist, except the _.
The text was updated successfully, but these errors were encountered:
Heya.
I know that in that
cmd
or "command object" we have both.alias
and.default
properties. But it isn't easy to merged them both in one single object.For example
so they looks like
So, it isn't possible to detect what default has what aliases. Would it be better the keys of
alias
object to be the nameformat
in that case and its value to be its aliases? I believe that defining aliases in minimist (and probablymri
) can accept both variants.I want to merge them in one final object that is the same as "argv", same as the parsed result of
mri/minimist
, except the_
.The text was updated successfully, but these errors were encountered: