Skip to content

Commit ccc6fab

Browse files
committed
fix(cli): hide test flag in download command
1 parent 662baa8 commit ccc6fab

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

codesectools/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,10 @@ def get_downloadable() -> dict[str, DownloadableRequirement | Dataset]:
160160

161161

162162
@cli.command(hidden=download_hidden)
163-
def download(name: download_arg_type = download_arg_value, test: bool = False) -> None:
163+
def download(
164+
name: download_arg_type = download_arg_value,
165+
test: Annotated[bool, typer.Option(hidden=True)] = False,
166+
) -> None:
164167
"""Download and install any missing resources that are available for download."""
165168
if name is None:
166169
print("All downloadable resources have been retrieved.")

0 commit comments

Comments
 (0)