-
Notifications
You must be signed in to change notification settings - Fork 19
cmd/rofl: Add providers list and show commands #650
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
Conversation
✅ Deploy Preview for oasisprotocol-cli ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
f55c598 to
4fd9e23
Compare
| cobra.CheckErr(err) | ||
|
|
||
| // Parse provider address. | ||
| providerAddr := args[0] |
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.
Can you do oasis rofl provider show [<address>] so that it shows you offers for the given provider or the one in the current ROFL manifest (--deployment can be added) or default, if none provided.
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.
But doesn't the oasis rofl deploy --show-offers already do this? Does it make sense to duplicate this behaviour?
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.
oasis rofl deploy --show-offers should now be synonym for oasis rofl provider show <the-validator-in-rofl-yaml-or-default-one>, because the new command also shows you a number of other interesting things such as the number of nodes, when was provider registered etc. This can be done in a separate PR though.
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.
Updated,oasis rofl deploy --show-offers now reuses code from rofl/provder/...
matevz
left a comment
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.
Also update the docs please.
4fd9e23 to
cbc71f7
Compare
|
Added docs |
cbc71f7 to
f327daf
Compare
926edaa to
52b806e
Compare
|
Updated |
matevz
left a comment
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.
Some suggestions to simplify and unify the outputs. Otherwise looks good to merge IMO!
52b806e to
5f47524
Compare
5f47524 to
ac6d03b
Compare
Fixes: #648
See examples for added commands.