fix(cli): accept multiple files in upload command - #42057
Conversation
The last positional argument now absorbs the remaining argv when its schema accepts an array. `upload` declares `files` as a string array, matching what its help always advertised. Also export `generateReadme` to unbreak `utils/generate_cli_help.js --readme`. Fixes: microsoft#42047
Test results for "tests 1"5 flaky51056 passed, 1188 skipped Merge workflow run. |
Test results for "MCP"3 failed 7851 passed, 1272 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a first look at the CI failures. 🟡 Nothing points at this PR, but two failures I can't fully clearAll three failures come from this PR's own run (merge sha DetailsThis PR touches the CLI daemon argument parser ( Pre-existing flake / infra
Uncertain
None of the three is caused by this PR. A re-run of the MCP job should clear the two uncertain timeouts. Triaged by the Playwright bot - agent run |
8538a47
into
microsoft:main
Summary
uploadaccepts multiple paths: the last positional argument absorbs the remaining argv when its schema accepts an array, rendered as<files...>in helpuploadreports a proper missing-argument error instead ofInvalid inputgenerateReadmeto unbreakutils/generate_cli_help.js --readmeFixes #42047