We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac5297e commit 1c59f38Copy full SHA for 1c59f38
medcat-v2/medcat/__main__.py
@@ -1,10 +1,12 @@
1
import sys
2
3
4
+_DL_SCRIPTS_USAGE = "Usage: python -m medcat download-scripts [DEST] [log_level]"
5
+
6
7
def main(*args: str):
8
if not args:
- print("Usage: python -m medcat download-scripts [DEST] [log_level]",
- file=sys.stderr)
9
+ print(_DL_SCRIPTS_USAGE, file=sys.stderr)
10
sys.exit(1)
11
if len(args) >= 1 and args[0] == "download-scripts":
12
from medcat.utils.download_scripts import main
@@ -14,8 +16,7 @@ def main(*args: str):
14
16
kwargs["log_level"] = args[2].upper()
15
17
main(dest, **kwargs)
18
else:
- print("Usage: python -m medcat download-scripts [DEST]",
19
20
21
22
0 commit comments