node: Make output of graphman infomore concise#5825
Merged
Conversation
isum
approved these changes
Feb 18, 2025
2eb479d to
f399101
Compare
graphman info prints one fairly big block of text for each subgraph
version. A lot of the information is repetetive since it is tied to a
deployment, not a subgraph name. To make the output more usable, it is now
organized around deployments, and lists all the names for a deployment in
one place, like:
```
Namespace | sgd114 [primary]
Hash | QmVsp1bC9rS3rf861cXgyvsqkpdsTXKSnS4729boXZvZyH
Versions | u65281/s53035/latest (current)
| u65281/s53035/v2 (current)
Chain | mainnet
Node ID | default
Active | true
Paused | false
Synced | false
Health | healthy
Earliest Block | 9923743
Latest Block | 9931270
Chain Head Block | 20988707
Blocks behind | 11057437
```
The new options `--brief` and `--no-name` can be used to further cut down
on the output by supressing names for all but active deployments or
suppressing all names
f399101 to
77b278c
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
graphman info prints one fairly big block of text for each subgraph version. A lot of the information is repetetive since it is tied to a deployment, not a subgraph name. To make the output more usable, it is now organized around deployments, and lists all the names for a deployment in one place, like:
The new options
--briefand--no-namecan be used to further cut down on the output by supressing names for all but active deployments or suppressing all names