cosmos-sdk/tools/confix/cmd/config.go
mergify[bot] 8bbed8c675
feat(confix): add shorthand flag to set cmd cli (backport #17175) (#17176)
Co-authored-by: zakir-code <80246097+zakir-code@users.noreply.github.com>
2023-07-28 11:31:39 +00:00

25 lines
450 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
// ConfigCommand contains all the confix commands
// These command can be used to interactively update an application config value.
func ConfigCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "config",
Short: "Utilities for managing application configuration",
}
cmd.AddCommand(
MigrateCommand(),
DiffCommand(),
GetCommand(),
SetCommand(),
HomeCommand(),
)
return cmd
}