From 2f2c261b655a80e2d6ea0042d877bab7261898e6 Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Wed, 28 Aug 2019 13:16:33 +0500 Subject: [PATCH] a --- app/file.py | 6 +++--- app/image.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/file.py b/app/file.py index fda6ab6..7c394fe 100644 --- a/app/file.py +++ b/app/file.py @@ -10,9 +10,9 @@ def file_scan(): pass @file_scan.command("setup") -@file_scan.option("--path", required=True) -@file_scan.option("--base_dir", required=True) -@file_scan.option("--file_prefix", required=True) +@click.option("--path", required=True) +@click.option("--base_dir", required=True) +@click.option("--file_prefix", required=True) def setup(path, base_dir, file_prefix): os.chdir(path) diff --git a/app/image.py b/app/image.py index a4daaef..1a1f47c 100644 --- a/app/image.py +++ b/app/image.py @@ -10,7 +10,7 @@ def image(): pass @image.command("setup") -@image.option("--path", required=True) +@click.option("--path", required=True) def setup(path): os.chdir(path)