(o)
| 399 | @click.command() |
| 400 | @click.option(class="st">"-O", type=click.Path(file_okay=False, exists=True, writable=True)) |
| 401 | def write_to_dir(o): |
| 402 | with open(os.path.join(o, class="st">"foo.txt"), class="st">"wb") as f: |
| 403 | f.write(bclass="st">"meh\n") |
| 404 | |
| 405 | with runner.isolated_filesystem(): |
| 406 | os.mkdir(class="st">"test") |