Skip to content

Commit df17e70

Browse files
committed
docs(CLI): add descriptions for docker command's options
1 parent c0fdb6b commit df17e70

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

codesectools/cli.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,15 @@ def download(
206206

207207
@cli.command()
208208
def docker(
209-
target: Annotated[Path, typer.Option()] = Path("."),
210-
isolation: Annotated[bool, typer.Option()] = False,
209+
target: Annotated[
210+
Path, typer.Option(help="The directory to mount inside the container.")
211+
] = Path("."),
212+
isolation: Annotated[
213+
bool,
214+
typer.Option(
215+
help="Enable network isolation for the container (disables host network sharing)."
216+
),
217+
] = False,
211218
) -> None:
212219
"""Start the Docker environment for the specified target (current directory by default)."""
213220
from codesectools.shared.docker import AnalysisEnvironment

0 commit comments

Comments
 (0)