-
Notifications
You must be signed in to change notification settings - Fork 375
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
feat: utilize ffcli (CLI refactor) #497
Conversation
I've slightly tweaked the API for the I've also thought about completely ditching this Here is the commit hash that has the changes we discussed: |
@moul |
Hey, yes, it’s a way better, let’s give a more complete try. Thank you. |
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.
I made a new round of comments but it’s not exhaustive, I’ll make a new review later.
Btw, I like the new commands API like this, well done 👍.
Merged out changes from |
…the new cli Since the new cli gnolang/gno#497 2 weeks ago, the tools like gnodev use single dash options (-foo) instead of --foo, and the address has to be put at the end. The pictures aren't changed however.
Description
This PR introduces the ffcli package, and reworks how existing commands are structured so they can utilize it.
The functionality of the commands themselves is unchanged, however, their help and error outputs are vastly improved.
Based on discussions from #460, the ffcli package is wrapped within
pkgs/commands
.Changes include
Checklist (for contributors)
Testing
Manual tests
Manually executed changed commands.
Additional comments
cc @moul @harry-hov