Skip to content

Commit 3e55151

Browse files
committed
added description for stdin for test
1 parent a68f94e commit 3e55151

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

commit0/cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,11 @@ def test(
239239
help="Set this to 2 for more logging information",
240240
count=True,
241241
),
242-
stdin: bool = typer.Option(False, "--stdin", help="Read test names from stdin"),
242+
stdin: bool = typer.Option(
243+
False,
244+
"--stdin",
245+
help="Read test names from stdin. Example: `echo 'test_mod.py' | commit0 test REPO --branch BRANCH`",
246+
),
243247
) -> None:
244248
"""Run tests on a Commit0 repository."""
245249
check_commit0_path()

0 commit comments

Comments
 (0)