All keys logic works with new basecli

This commit is contained in:
Ethan Frey
2018-03-01 02:36:57 +00:00
committed by rigelrozanski
parent 7361269eb6
commit b0c65f8045
8 changed files with 49 additions and 103 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ import (
"github.com/tendermint/tmlibs/cli"
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/version"
)
@@ -48,12 +49,12 @@ func main() {
basecliCmd.AddCommand(
lineBreak,
serveCommand(),
KeyCommands(),
keys.Commands(),
lineBreak,
version.VersionCmd,
)
// prepare and add flags
executor := cli.PrepareBaseCmd(basecliCmd, "GA", os.ExpandEnv("$HOME/.basecli"))
executor := cli.PrepareMainCmd(basecliCmd, "BC", os.ExpandEnv("$HOME/.basecli"))
executor.Execute()
}