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
Looking at the code for task.cr and OptionParser (stdlib), it appears you can just use the args passed to parser.parse(args) (which is ARGV be default) and it removes all the arguments parsed, which just leaves the positional arguments. OptionParser also has an unknown_args method for those left over args not parsed, so maybe Lucky can use that instead? Currently, I saw task.cr uses the args from ARGV before they are parsed by OptionParser, which is why they have a reference to them even though OptionParser removes them.
Getting this weird behavior where
positional_arg
withto_end: true
will include all arguments before or after the positional argument.Ex (other args before positional):
Ex (other args after postional):
If both aren't allowed, then at least the one before the positional_arg should work.
Expected:
The text was updated successfully, but these errors were encountered: