Skip to content

Commit

Permalink
docs: describe AddCommands (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Aug 2, 2024
1 parent a48b69e commit 0da75ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0da75ca

Please sign in to comment.