Skip to content

Commit

Permalink
feat: add pruning subcommand (#2124)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul121 committed Jan 8, 2024
1 parent 5d4fd33 commit 54cb6bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/client/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/debug"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/client/pruning"
"github.com/cosmos/cosmos-sdk/client/rpc"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/server"
Expand Down Expand Up @@ -179,6 +180,8 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig app.EncodingConfig) {
txCommand(),
keys.Commands(app.DefaultNodeHome),
)

rootCmd.AddCommand(pruning.PruningCmd(newApp))
}

func addModuleInitFlags(startCmd *cobra.Command) {
Expand Down

0 comments on commit 54cb6bb

Please sign in to comment.