summaryrefslogtreecommitdiff
path: root/check/commands/imagehash/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'check/commands/imagehash/test.py')
-rw-r--r--check/commands/imagehash/test.py19
1 files changed, 18 insertions, 1 deletions
diff --git a/check/commands/imagehash/test.py b/check/commands/imagehash/test.py
index 05d2ee4..499a424 100644
--- a/check/commands/imagehash/test.py
+++ b/check/commands/imagehash/test.py
@@ -1 +1,18 @@
-# query the database with a test set \ No newline at end of file
+"""
+Query the database with a test set
+"""
+
+import click
+
+# from app.models.sql_factory import load_sql_datasets
+
+@click.command()
+@click.option('-i', '--input', 'opt_fn',
+ required=True,
+ help="Directory to search")
+@click.pass_context
+def cli(ctx, opt_fn):
+ """
+ Search the database for an image
+ """
+ print('Searching for a file...')