aboutsummaryrefslogtreecommitdiffstats
path: root/fuzzycat/fatcat/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'fuzzycat/fatcat/main.py')
-rw-r--r--fuzzycat/fatcat/main.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/fuzzycat/fatcat/main.py b/fuzzycat/fatcat/main.py
deleted file mode 100644
index 07e4ad4..0000000
--- a/fuzzycat/fatcat/main.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# coding: utf-8
-"""
-Command line entry point for ad-hoc testing.
-"""
-
-import argparse
-
-from fatcat_openapi_client import ReleaseEntity, ReleaseExtIds
-
-from fuzzycat.fatcat.matching import match_release_fuzzy
-
-
-def main():
- parser = argparse.ArgumentParser()
- parser.add_argument("-R", "--release", help="match release", action="store_true")
- parser.add_argument("-t", "--title", help="title")
-
- args = parser.parse_args()
-
- if args.release and args.title:
- re = ReleaseEntity(title=args.title, ext_ids=ReleaseExtIds())
- print(match_release_fuzzy(re, es="https://search.fatcat.wiki"))