feat(help): add browser structured help#1404
Merged
Conversation
f65f444 to
9d2113b
Compare
jackwener
commented
May 7, 2026
Owner
Author
jackwener
left a comment
There was a problem hiding this comment.
LGTM (cannot --approve since shared GH identity). Verified commit 9d2113b in thread #OpenCLI:968cb389 — all 3 intermediate-parent subtrees (browser tab/get/dialog) emit structured YAML with correct group/leaves/options layering; namespace root description preserved via originalBrowserDescription snapshot (applyRootSubcommandSummaries would otherwise overwrite it); 134/134 unit tests + 11/11 CI green; spec abstraction ready for A1 (daemon/plugin/adapter).
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
opencli browser --help -f yaml|jsonto emit all browser leaf commands, including nestedtab,get, anddialogcommandsopencli browser click --help -f yaml, to structured help with command options, namespace options, and root global optionsVerification
npm test -- --run src/cli.test.ts src/help.test.tsnpm run typechecknpm run buildgit diff --checknode dist/src/main.js browser --help -f yamlnode dist/src/main.js browser click --help -f yaml