Skip to content

Commit fbf9acb

Browse files
committed
Add notice for downloading the entire archive
1 parent 753eeec commit fbf9acb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

isic_cli/cli/image.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,19 @@ def download(
138138
139139
anatom_site_general:*torso AND image_type:dermoscopic
140140
"""
141+
if not search and not collections and limit == 0:
142+
click.echo()
143+
click.secho(
144+
"Note: You're downloading the entire ISIC Archive without filters.",
145+
fg="yellow",
146+
bold=True,
147+
)
148+
click.echo(
149+
"A prebuilt snapshot of all public data is available for faster bulk access at:\n"
150+
"https://isic-archive.s3.us-east-1.amazonaws.com/snapshots/ISIC_images.zip"
151+
)
152+
click.echo()
153+
141154
outdir.mkdir(parents=True, exist_ok=True)
142155

143156
def signal_handler(signum, frame):

0 commit comments

Comments
 (0)