I'm trying to use click for multiple files. For example:
@cli.command("test")
@click.argument('input', type=click.File('rb'))
def test(input):
with click.progressbar(input, label='READING') as bar:
for x in bar:
pass
When I do something like this:
script test ~/ololo/*
I get:
Error: Got unexpected extra arguments ( ... listing all files in folder ...)