-
Notifications
You must be signed in to change notification settings - Fork 385
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(cmd/gno): pkgaddr
sub-command
#3416
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Norman <norman@samourai.coop>
pkgaddr
sub-command
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🟢 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
Signed-off-by: Norman <norman@samourai.coop>
Signed-off-by: Norman <norman@samourai.coop>
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.
We should find a better way to manage the "not go related subcommands." This could involve creating a dedicated subcommand category for these helpers, using a prefix, or simply placing everything in contribs/.
I suggest starting with contribs/. It could be in gnodev if we believe there's a daily need for it (I don't think there is, cc @gfanton), or we could create a new tool. A contribs/gnoconv generic binary for such operations might make sense and could pave the way for other similar helpers until we find a way to integrate these usages more effectively (or not).
Adds a
gno
sub-command calledpkgaddr
that takes a string as argument and outputs the corresponding package address using `gnolang.DerivePkgAddr'Example usage: