Skip to content
This repository was archived by the owner on Sep 22, 2026. It is now read-only.

fix(docgen): correct root command synopsis usage - #44

Merged
ffalor merged 1 commit into
mainfrom
copy-button
Feb 22, 2026
Merged

ffalor merged 1 commit into
mainfrom
copy-button

Conversation

@ffalor

@ffalor ffalor commented Feb 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix root command synopsis showing "gh wt wt" instead of "gh wt"
  • Use CommandPath() for root command and UseLine() for subcommands to preserve argument placeholders
  • Regenerate CLI documentation

Also includes improvements to copy button styling (added "Copy" text, larger icons) and code block styling.

- Use CommandPath() for root command to avoid 'gh wt wt' bug
- Use UseLine() for subcommands to preserve argument placeholders
- Regenerate CLI docs
@ffalor
ffalor merged commit 4b688ef into main Feb 22, 2026
2 checks passed
@ffalor
ffalor deleted the copy-button branch February 22, 2026 21:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant