Getting this weird behavior where positional_arg with to_end: true will include all arguments before or after the positional argument.
Ex (other args before positional):
$ lucky importmap.pin --download -e production -f jspm react react-dom
download? # => true
env # => "production"
from # => "jspm"
packages # => ["--download", "-e", "production", "-f", "jspm", "react", "react-dom"]
Ex (other args after postional):
$ lucky importmap.pin react react-dom --download -e production -f jspm
download? # => true
env # => "production"
from # => "jspm"
packages # => ["react", "react-dom", "--download", "-e", "production", "-f", "jspm"]
If both aren't allowed, then at least the one before the positional_arg should work.
Expected:
$ lucky importmap.pin --download -e production -f jspm react react-dom
download? # => true
env # => "production"
from # => "jspm"
packages # => ["react", "react-dom"]
Getting this weird behavior where
positional_argwithto_end: truewill 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: