Click wouldn't let me pass multiple files, although it should be possible
<p>I'm trying to use click for multiple files. For example:</p>

<pre><code>@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
</code></pre>

<p>When I do something like this:</p>

<pre><code>script test ~/ololo/*
</code></pre>

<p>I get:</p>

<pre><code>Error: Got unexpected extra arguments ( ... listing all files in folder ...)
</code></pre>