diff --git a/cmd/celestia-appd/cmd/root.go b/cmd/celestia-appd/cmd/root.go index 12fea2ed71..5718942448 100644 --- a/cmd/celestia-appd/cmd/root.go +++ b/cmd/celestia-appd/cmd/root.go @@ -21,6 +21,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" @@ -149,6 +150,9 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig encoding.Config) { keys.Commands(app.DefaultNodeHome), bscmd.VerifyCmd(), ) + rootCmd.AddCommand( + snapshot.Cmd(NewAppServer), + ) } func addModuleInitFlags(startCmd *cobra.Command) {