-
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
[chain] Add JSON output support for gnoland secrets get
#2301
Milestone
Comments
#2249 |
Hey @linhpn99, I'd much rather keep this as a separate PR. I'll tackle it, no worries 👍 |
This was referenced Jun 15, 2024
zivkovicmilos
added a commit
that referenced
this issue
Jun 19, 2024
#2361) ## Description Closes #1922 This PR introduces a new section to the `Node P2P Info` secrets output, that displays the P2P connection address. The secrets fetch command remains unchanged, and this info can be displayed by calling `gnoland secrets get NodeKey` It displays the following values: - if the config is not initialized yet, the default p2p listen address is used - if the config is initialized, the p2p listen address value is used <img width="842" alt="Screenshot 2024-06-19 at 10 59 48" src="https://github.com/gnolang/gno/assets/16712663/217a80b9-2c46-444b-8b80-62a80ecdea4d"> These values will be easily fetch-able when we introduce json output support for these outputs in #2301 cc @mazzy89 <details><summary>Contributors' checklist...</summary> - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details>
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
This task concerns adding a JSON output support to
gnoland secrets get
, and laying out a foundation for this sort of functionality in other commands (JSON + regular text output).Related #2249
The text was updated successfully, but these errors were encountered: