Fix: syntax for on command
This commit is contained in:
parent
8a279847ae
commit
da53656609
@ -16,9 +16,12 @@ def extract():
|
||||
|
||||
|
||||
@extract.command()
|
||||
@click.argument("pdf_file", help="Nom du fichier pdf")
|
||||
@click.argument("pdf_file", required=1)
|
||||
def on(pdf_file):
|
||||
extract_save(pdf_file)
|
||||
pdf_path = Path(pdf_file)
|
||||
pdf_filename = pdf_path.name
|
||||
pdf_path = pdf_path.parent
|
||||
extract_save(pdf_file, pdf_path)
|
||||
|
||||
|
||||
@extract.command()
|
||||
|
Loading…
Reference in New Issue
Block a user