-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Discrepancy between keys add
and keys new
#2595
Comments
keys add
and keys new
.keys add
and keys new
In my opinion, we should have:
The latter could be implemented just as a flag for the former. |
Why not then just add |
I think |
Ok so rename |
I would prefer not to use |
Also, I don't think |
@alexanderbez it does not. |
Shouldn't it? |
Yup! |
Excellent and critical point! I don't have strong opinions here, other than that users should be able to enter mnemonic and bip39 passphrase interactively (ie. not recorded in shell history). As long as that's possible, I'm happy. Sorry for the mayhem on this one ... |
All good. I'll clean this up 👍 |
@jackzampolin dixit:
Seconded. Let's keep |
Actually I think the opposite? I think |
How about removing |
I don't have strong opinions here. |
- Incorporate --recover in the new command. - Code clean up Closes: #2595
- Incorporate --recover in the new command. - Code clean up Closes: #2595
The commands
keys new
(newly added) andkeys add
result in a somewhat confusing UX. I believe from #2091, we want to markadd
as deprecated (which we can via Cobra). However,add
has "recovery" functionality whichnew
does not. How do we want to handle this?Does it make sense to have have recovery functionality in
keys new
? Perhaps we can removekeys add
all together and simply add akeys recover
command./cc @ebuchman @jackzampolin
For Admin Use
The text was updated successfully, but these errors were encountered: