Skip to content

Commit ba34c3a

Browse files
nnkkenwilliamchong
authored andcommitted
✨ Add snapshot command to manage snapshots
1 parent 478561d commit ba34c3a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmd/liked/cmd/cmd.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
"github.com/cosmos/cosmos-sdk/client/flags"
2525
"github.com/cosmos/cosmos-sdk/client/keys"
2626
"github.com/cosmos/cosmos-sdk/client/rpc"
27+
"github.com/cosmos/cosmos-sdk/client/snapshot"
2728

2829
"github.com/cosmos/cosmos-sdk/server"
2930
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
@@ -219,6 +220,7 @@ func NewRootCmd() (*cobra.Command, app.EncodingConfig) {
219220
queryCommand(),
220221
txCommand(),
221222
keys.Commands(app.DefaultNodeHome),
223+
snapshot.Cmd(newApp),
222224
)
223225

224226
return rootCmd, encodingConfig

0 commit comments

Comments
 (0)