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
[forge] refactory Forge CLI interface #9061
Conversation
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.
much nicer! LGTM
Have you tried passing in these new args in fgi
? One side effect of having this many subcommands is that it becomes a bit more complicated how we pass args from fgi
to forge
. I don't anticipate this causing too much issue though, since we'll likely add more functionality to the forge
command itself, and keep the k8s-swarm
subcommand simple (not needing any further args).
yea, I did mention above in test plan for those routines thourgh fgi instead of cargo, such as: I did make corresponding change in fgi: |
/land |
Do you anticipate it needing to have something like this though? I'm not sure how much more we're intending to add to the swarm functionality
|
Cluster Test Result
Repro cmd:
🎉 Land-blocking cluster test passed! 👌 |
58e65c1
to
3e984ed
Compare
Forge Cli is increasingly complicate since it supports more and more operations. Refactory CLI to different operation categories for better user experience.
For cluster Opertions:
for Testing:
Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update or suggest changes to the docs at https://developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well