From c9b88199ddde0610ead77a9cb3832131194efbd7 Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Tue, 23 Jul 2024 20:49:56 -0400 Subject: [PATCH] docs: describe AddCommands --- 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",