Skip to content

Comments

Move gen commands#887

Merged
stephanos merged 2 commits intotemporalio:mainfrom
stephanos:move-gen-cmds
Dec 12, 2025
Merged

Move gen commands#887
stephanos merged 2 commits intotemporalio:mainfrom
stephanos:move-gen-cmds

Conversation

@stephanos
Copy link
Contributor

@stephanos stephanos commented Dec 12, 2025

What was changed

Moved ‎internal/cmd/gen-commands to cmd/gen-commands; and same for gen-docs.

Why?

When they are in internal/ they cannot be invoked via go run from outside the repository; making it cumbersome to use.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@stephanos stephanos force-pushed the move-gen-cmds branch 2 times, most recently from 20dfb62 to 799bff4 Compare December 12, 2025 21:08
@stephanos stephanos marked this pull request as ready for review December 12, 2025 21:09
@stephanos stephanos requested review from a team as code owners December 12, 2025 21:09
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I think it's not the best that these internal tools are alongside the primary binary as an equal and would have liked to see us entertain an option of making these just undocumented commands inside the existing binary, but not a strong objection

@stephanos stephanos merged commit 36bff71 into temporalio:main Dec 12, 2025
8 checks passed
@stephanos stephanos deleted the move-gen-cmds branch December 12, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants