Skip to content

Commit

Permalink
client/keys/mnemonic: add printStep, printPrefixed
Browse files Browse the repository at this point in the history
  • Loading branch information
notatestuser committed Feb 22, 2019
1 parent 53d9798 commit 7166963
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions client/keys/mnemonic.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,12 @@ func runMnemonicCmd(cmd *cobra.Command, args []string) error {

return nil
}

func printPrefixed(msg string) {
fmt.Printf("> %s\n", msg)
}

func printStep() {
printPrefixed("-------------------------------------")
}

0 comments on commit 7166963

Please sign in to comment.