Closed rigelrozanski closed 7 years ago
Yes, need some more work flows.
I like the ideas that init never wipes out the keys. And gives a warning if it will wipe out the seeds.
And then a reset all that wipes out everything.
Let's chat more
Simply put I think all those ideas are on point let's implement. It's a nice idea to be able to reset seeds with init without wiping keys.
Resolved with PR #29
Makes sense to be able to wipe the working directory (eg.
~/.basecli
) without needing to init, right now this can be achieved with the--force-reset
flag oninit
however, if you don't want to init but just wipe a directory clean (aka performing a command likebasecli --force-reset
) you're going to receive an error for not including the--chainid
flag... which makes sense if we were trying to init, but I'm really just trying to reset.Typical process flow that requires this change:
--force-reset
here we will wipe the keys which we made earlier!)