Browse Source

Use new PrepareMainCmd from tmlibs/cli

pull/1782/head
Ethan Frey 8 years ago
parent
commit
524ba917a3
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      cmd/keys/main.go
  2. +2
    -1
      glide.lock

+ 2
- 1
cmd/keys/main.go View File

@ -18,10 +18,11 @@ import (
"os"
"github.com/tendermint/go-crypto/cmd"
"github.com/tendermint/tmlibs/cli"
)
func main() {
cmd.PrepareMainCmd(cmd.RootCmd, "TM", os.ExpandEnv("$HOME/.tlc"))
cli.PrepareMainCmd(cmd.RootCmd, "TM", os.ExpandEnv("$HOME/.tlc"))
cmd.RootCmd.Execute()
// exec()
}

+ 2
- 1
glide.lock View File

@ -91,10 +91,11 @@ imports:
subpackages:
- term
- name: github.com/tendermint/tmlibs
version: 1ea866fd691ded9c1de16408934927d133550efc
version: d4ab9679d71c8fc174284696d15930cb799fa24f
subpackages:
- common
- logger
- cli
- name: golang.org/x/crypto
version: 7c6cc321c680f03b9ef0764448e780704f486b51
subpackages:


Loading…
Cancel
Save