🐛 properly use click.command() decorator
This commit is contained in:
parent
acd922f550
commit
d2315e857e
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue