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 c664751 commit 59d44c5Copy full SHA for 59d44c5
1 file changed
src/torchio/__main__.py
@@ -1,3 +1,5 @@
1
+from __future__ import annotations
2
+
3
import importlib
4
import sys
5
from pathlib import Path
@@ -45,7 +47,7 @@ def main(
45
47
' files in the directory.'
46
48
),
49
- ] = None,
50
+ ],
51
# output_path,
52
# overwrite,
53
flatten: Annotated[
@@ -54,8 +56,11 @@ def main(
54
56
] = None,
55
57
recursive: Annotated[
58
bool,
- typer.Option(),
59
+ typer.Option(
60
+ '--recursive/--no-recursive',
61
+ '-r/-R',
62
+ ),
63
+ ] = False,
64
transform: Annotated[
65
str,
66
typer.Option(),
0 commit comments