Skip to content

Commit 59d44c5

Browse files
committed
Change some bits
1 parent c664751 commit 59d44c5

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/torchio/__main__.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import importlib
24
import sys
35
from pathlib import Path
@@ -45,7 +47,7 @@ def main(
4547
' files in the directory.'
4648
),
4749
),
48-
] = None,
50+
],
4951
# output_path,
5052
# overwrite,
5153
flatten: Annotated[
@@ -54,8 +56,11 @@ def main(
5456
] = None,
5557
recursive: Annotated[
5658
bool,
57-
typer.Option(),
58-
] = None,
59+
typer.Option(
60+
'--recursive/--no-recursive',
61+
'-r/-R',
62+
),
63+
] = False,
5964
transform: Annotated[
6065
str,
6166
typer.Option(),

0 commit comments

Comments
 (0)