-
Notifications
You must be signed in to change notification settings - Fork 326
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
Implement query packet pending
command
#1862
Comments
query packets
commandquery packet pending
command
I need some more clue on how the pending packets should be represented in the output of the command. If this command is to display packets pending at both ends of a channel, should the output:
|
I think 1. @mircea-c should have a big say here.
And obtain something like this:
Then repeat the same for the other side. It would be nice to have ^ with one CLI. The other problem with the current CLIs is with the formatting, we display one sequence per line. When there are tens/ hundreds of packets the output is pretty much useless without some extra parsing. Something like this would be nice for human eyes:
But then probably not good for tooling/ automation. |
@ancazamfir So it seems that in addition to the directionality information, the output would classify pending packets by kind. Should there be any details on the packet items themselves, or just IDs, possibly collated as you suggest?
We've got the JSON mode for that, so we can make it nice for the |
just IDs imo. collated would be great!
perfect! |
I think what @ancazamfir suggested is excellent. It gets my vote. |
@ancazamfir As the first set is strictly a union of the other two, do we need to display it? Perhaps in text mode, but for JSON it would be redundant information. |
I'm implementing this as another subcommand of Meanwhile, we could continue redesigning the CLI so that this new command supersedes the more elementary |
sure, we can have that in text mode. |
Add a
hermes query packet
subcommand that shows all pending packets for a channel at both ends.Originally posted by @ancazamfir in #1834 (comment)
The text was updated successfully, but these errors were encountered: