Skip to content

Commit b880ba7

Browse files
authored
Merge pull request #50 from jmjava/cursor/ts-manifest-discovery-fcf7
feat(demo-function): TS spec manifest discovery (#49)
2 parents 36f51f7 + a08aa6e commit b880ba7

3 files changed

Lines changed: 543 additions & 13 deletions

File tree

src/docgen/cli.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,19 @@ def playwright(
205205
is_flag=True,
206206
help="Skip TTS even if OPENAI_API_KEY is set.",
207207
)
208+
@click.option(
209+
"--grep",
210+
"grep_arg",
211+
default=None,
212+
help="Playwright test title filter when --manifest is a .ts/.tsx spec (or overrides YAML).",
213+
)
208214
@click.pass_context
209215
def demo_function(
210216
ctx: click.Context,
211217
manifest_arg: str,
212218
output_dir_arg: str | None,
213219
output_dir_legacy: str | None,
220+
grep_arg: str | None,
214221
cache_dir_arg: str | None,
215222
no_narration: bool,
216223
) -> None:
@@ -224,6 +231,7 @@ def demo_function(
224231
code = run_cli(
225232
manifest_arg=manifest_arg,
226233
output_dir_arg=out,
234+
grep=grep_arg,
227235
cache_dir_arg=cache_dir_arg,
228236
no_narration=no_narration,
229237
)

0 commit comments

Comments
 (0)