-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
@click.argument(name, nargs=2, envvar=NAME)
Works as expected. If you set NAME="a b" and run your command name in the called function will be a tuple of ('a', 'b').
@click.argument(name, nargs=-1, envvar=NAME)
on the other hand doesn't work as expected. If you call it in the same exact way, name will be set to the empty tuple.
Reactions are currently unavailable