diff --git a/cmd/celestia-appd/cmd/root.go b/cmd/celestia-appd/cmd/root.go index 25b13ec680..34b1993015 100644 --- a/cmd/celestia-appd/cmd/root.go +++ b/cmd/celestia-appd/cmd/root.go @@ -22,6 +22,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/keys" "github.com/cosmos/cosmos-sdk/client/rpc" + "github.com/cosmos/cosmos-sdk/client/snapshot" "github.com/cosmos/cosmos-sdk/server" serverconfig "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" @@ -142,6 +143,9 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig encoding.Config) { keys.Commands(app.DefaultNodeHome), qgbcmd.VerifyCmd(), ) + rootCmd.AddCommand( + snapshot.Cmd(NewAppServer), + ) } func addModuleInitFlags(startCmd *cobra.Command) {