1919from virtualship .utils import SCHEDULE , SHIP_CONFIG
2020
2121
22- @click .command (
23- help = "Initialize a directory for a new expedition, with an example configuration."
24- )
22+ @click .command ()
2523@click .argument (
2624 "path" ,
2725 type = click .Path (exists = False , file_okay = False , dir_okay = True ),
2826)
2927def init (path ):
30- """Entrypoint for the tool ."""
28+ """Initialize a directory for a new expedition, with an example schedule and ship config files ."""
3129 path = Path (path )
3230 path .mkdir (exist_ok = True )
3331
@@ -50,9 +48,7 @@ def init(path):
5048 click .echo (f"Created '{ config .name } ' and '{ schedule .name } ' at { path } ." )
5149
5250
53- @click .command (
54- help = "Download the relevant data specified in an expedition directory (i.e., by the expedition config)."
55- )
51+ @click .command ()
5652@click .argument (
5753 "path" ,
5854 type = click .Path (exists = True , file_okay = False , dir_okay = True , readable = True ),
@@ -173,7 +169,7 @@ def fetch(path: str | Path, username: str | None, password: str | None) -> None:
173169 click .echo ("Data download based on space-time region completed." )
174170
175171
176- @click .command (help = "Do the expedition." )
172+ @click .command ()
177173@click .argument (
178174 "path" ,
179175 type = click .Path (exists = True , file_okay = False , dir_okay = True , readable = True ),
@@ -184,5 +180,5 @@ def fetch(path: str | Path, username: str | None, password: str | None) -> None:
184180 type = str ,
185181)
186182def run (path ):
187- """Entrypoint for the tool ."""
183+ """Run the expedition ."""
188184 do_expedition (Path (path ))
0 commit comments