You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on "Add page under coordinator guide for coordinator profile management" in #158 and I think we should consider improving UX of coordinator profile commands.
Current UX
Currently, the process of setting and displaying coordinator profile info looks like this:
Show coordinator address:
ignite account show default --address-prefix spn
Setting info:
ignite network coordinator set details "Coordinator details"
ignite network coordinator set website "example.org"
Showing info:
ignite n coordinator show spn1lp6hvdzsfquk0rmpfhshrwc79x5sfjkzf45nz7
This is confusing, because:
You have to use account show with a flag
coordinator show is not consistent with other commands, because it requires you to provide the address (notice that most network commands use the account you have selected without requiring the --from flag)
You have to set each property individually
Proposal
coordinator show command shows info for the currently selected account. If provided with an address, show info for that address, instead. Show accept an account name instead of address.
ignite n coordinator show # shows currently selected account
ignite n coordinator show alice
ignite n coordinator show spn1lp6hvdzsfquk0rmpfhshrwc79x5sfjkzf45nz7
set accepts keys as flags, so you can set multiple in one command.
ignite network coordinator set --details "Coordinator details" --website "example.org"
account show behaves exactly the same as coordinator show. If no arguments, show the current account. If an address or account name, show that instead. The Ignite chain prefix should be set as default, not the cosmos one.
ignite account show # shows currently selected account
ignite account show alice
ignite account show spn1lp6hvdzsfquk0rmpfhshrwc79x5sfjkzf45nz7
The same applies to ignite network validator.
The text was updated successfully, but these errors were encountered:
I'm working on "Add page under coordinator guide for coordinator profile management" in #158 and I think we should consider improving UX of coordinator profile commands.
Current UX
Currently, the process of setting and displaying coordinator profile info looks like this:
Show coordinator address:
Setting info:
Showing info:
This is confusing, because:
account show
with a flagcoordinator show
is not consistent with other commands, because it requires you to provide the address (notice that mostnetwork
commands use the account you have selected without requiring the--from
flag)Proposal
coordinator show
command shows info for the currently selected account. If provided with an address, show info for that address, instead. Show accept an account name instead of address.set
accepts keys as flags, so you can set multiple in one command.account show
behaves exactly the same ascoordinator show
. If no arguments, show the current account. If an address or account name, show that instead. The Ignite chain prefix should be set as default, not thecosmos
one.The same applies to
ignite network validator
.The text was updated successfully, but these errors were encountered: