Fix: folder to src for path in cli
This commit is contained in:
parent
f9095b6a4d
commit
e64fb63129
@ -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": [],
|
||||
|
Loading…
Reference in New Issue
Block a user