🐛 properly use click.command() decorator

This commit is contained in:
neingeist 2025-10-21 05:47:08 +02:00
parent acd922f550
commit d2315e857e
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import subprocess
from pathlib import Path
@click.command
@click.command()
@click.option("--top", default=0)
@click.option("--bottom", default=0)
@click.option("--left", default=0)

View file

@ -39,7 +39,7 @@ def working_directory(directory: Path):
os.chdir(saved_cwd)
@click.command
@click.command()
@click.argument(
"topdirs", nargs=-1, type=click.Path(exists=True, file_okay=False, path_type=Path)
)