From e64fb6312969ad82d6a03cdc50b30c956b49c7f8 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 18 Dec 2022 10:00:33 +0100 Subject: [PATCH] Fix: folder to src for path in cli --- pdf_oralia/scripts.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pdf_oralia/scripts.py b/pdf_oralia/scripts.py index 974e2a6..6e6ba02 100644 --- a/pdf_oralia/scripts.py +++ b/pdf_oralia/scripts.py @@ -50,8 +50,8 @@ def on(pdf_file, dest): @extract.command() @click.option("--src", help="Tous les fichiers dans folder", default="./") @click.option("--dest", help="Où mettre les fichiers produits", default="./") -def all(folder, dest): - p = Path(folder) +def all(src, dest): + p = Path(src) d = Path(dest) d.mkdir(exist_ok=True) @@ -63,10 +63,10 @@ def all(folder, dest): @main.command() -@click.option("--src", help="Tous les fichiers dans folder", default="./") +@click.option("--src", help="Tous les fichiers dans src", default="./") @click.option("--dest", help="Où mettre les fichiers produits", default="") -def join(folder, dest): - p = Path(folder) +def join(src, dest): + p = Path(src) dfs = { "charge": [], "locataire": [],