From 0da75ca4f0d896acd59190fa60670ca3a7e087ba Mon Sep 17 00:00:00 2001 From: Rootul P Date: Fri, 2 Aug 2024 10:29:39 -0400 Subject: [PATCH] docs: describe AddCommands (#410) --- server/util.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/util.go b/server/util.go index b8d06b4d741f..28532a1c5821 100644 --- a/server/util.go +++ b/server/util.go @@ -270,7 +270,8 @@ func interceptConfigs(rootViper *viper.Viper, customAppTemplate string, customCo return conf, nil } -// add server commands +// AddCommands adds some commands to the root command. These commands include: +// start, tendermint, export, version, and rollback. func AddCommands(rootCmd *cobra.Command, defaultNodeHome string, appCreator types.AppCreator, appExport types.AppExporter, addStartFlags types.ModuleInitFlags) { tendermintCmd := &cobra.Command{ Use: "tendermint",