stdin click.File has .name
attribute when running from CLI, but doesn't when using CliRunner
#1064
Labels
Milestone
Expected Result
@click.argument('infile', type=click.File('r'))
has attributename
in all invokation scenariosActual result
@click.argument('infile', type=click.File('r'))
doesn't have attributename
when usingclick.testing.CliRunner.invoke()
Steps to reproduce
run as
returns
whereas
returns
The text was updated successfully, but these errors were encountered: