Skip to content

Commit

Permalink
Add yoda version
Browse files Browse the repository at this point in the history
  • Loading branch information
ntchjb committed Jun 10, 2021
1 parent 45e0375 commit 5993687
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yoda/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
"github.com/spf13/cobra"
"github.com/spf13/viper"

Expand Down Expand Up @@ -73,7 +74,7 @@ func Main() {
configCmd(),
keysCmd(ctx),
runCmd(ctx),
// version.Cmd
version.NewVersionCommand(),
)
rootCmd.PersistentPreRunE = func(_ *cobra.Command, _ []string) error {
home, err := rootCmd.PersistentFlags().GetString(flags.FlagHome)
Expand Down

0 comments on commit 5993687

Please sign in to comment.