25 lines
450 B
Go
25 lines
450 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// ConfigComamnd 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
|
|
}
|