-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use YAML for CLI command generation #666
Merged
Merged
Changes from 15 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ca361f3
ported commands.md to commands.yml
yuandrew bb7c12d
current YAML draft
yuandrew d04fb17
go run ./temporalcli/internal/cmd/gen-commands works but make all doe…
yuandrew 1651a7b
make all works
yuandrew ea427a3
Merge branch 'main' into command-yaml-generation
yuandrew 07ec2cb
tests pass
yuandrew 96b6240
cleanup code, add instructions to top of YML
yuandrew 2cedef7
don't support bool default
yuandrew b119093
clean up from comparing commands.gen.go
yuandrew 40be057
missed a small change
yuandrew 3b425e5
regen commands.gen.go
yuandrew ee16399
remove all newlines from option descriptions
yuandrew 4cf572b
fix some more description spacing
yuandrew fb39d60
PR comments
yuandrew c53171b
minor doc fix
yuandrew df2e643
missed a commands.md reference
yuandrew f9f00c5
removing commands.md again, must have resurfaced from a rebase
yuandrew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still references
commands.md
. In a perfect world this would have failed CI with something like:But unfortunately this Makefile is an untested/undocumented thing just sitting in the repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, thanks for catching this!