diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-04-14 19:52:16 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-04-14 19:52:16 +0200 |
| commit | 61f169d109c9ba1c01ada06d830973c873d4e634 (patch) | |
| tree | 8ec603eaa0e10332367fc9c4bef085db2b18c06a /check/commands/imagehash/query.py | |
| parent | 0a4b3ea4611fcbe66b148041f82e77a0f138e688 (diff) | |
record format
Diffstat (limited to 'check/commands/imagehash/query.py')
| -rw-r--r-- | check/commands/imagehash/query.py | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/check/commands/imagehash/query.py b/check/commands/imagehash/query.py index eb15960..cf5c2d4 100644 --- a/check/commands/imagehash/query.py +++ b/check/commands/imagehash/query.py @@ -1 +1,18 @@ -# search the database for a file
\ No newline at end of file +""" +Search the database for an image +""" + +import click + +# from app.models.sql_factory import load_sql_datasets + +@click.command() +@click.option('-i', '--input', 'opt_fn', + required=True, + help="File to search") +@click.pass_context +def cli(ctx, opt_fn): + """ + Search the database for an image + """ + print('Searching for a file...') |
