β¨ Generate the ws-cli command reference from the shared manifest#174
Merged
Conversation
Add a commands.data.ts loader + CommandSection component + a generate-commands.mjs partial generator (mirroring the env-vars pipeline) that render commands.yaml β synced from ws-cli via ws-meta β into the tools/ws-cli.md page, replacing the hand-maintained Commands section. Seed the data twin (distribution keeps it fresh) and exclude the machine-generated yaml from yamllint.
f5c8e6d to
b5323b1
Compare
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.
Renders the
commands.yamlmanifest β synced from ws-cli through ws-meta as a new distribution origin β intotools/ws-cli.md, replacing the hand-maintained## Commandssection with generated content. Mirrors the env-vars pipeline:commands.data.tsloader βCommandSectioncomponent βgenerate-commands.mjspartial β<!--@include-->..vitepress/data/commands.yaml(Β§3 twin; distribution keeps it fresh once ws-meta#52 lands the route).yaml.Marshalisn't lint-aware; descriptions exceed the 100-col limit).Note: some rich hand-written extras (the detailed
show envexit-code table, the clipboardpbcopy/xcliptip, the reverse-tunnel example) are dropped in favour of uniform generated sections. Can reintroduce any as a dedicated deep-dive if wanted.