mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
initial rebuild
This commit is contained in:
19
cmd/cli/show-config.go
Normal file
19
cmd/cli/show-config.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package cli
|
||||
|
||||
import (
|
||||
"github.com/glueops/autoglue/internal/config"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var showConfigCmd = &cobra.Command{
|
||||
Use: "show-config",
|
||||
Short: "Show the current configuration",
|
||||
Long: "Show the current configuration",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
config.DebugPrintConfig()
|
||||
},
|
||||
}
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(showConfigCmd)
|
||||
}
|
||||
Reference in New Issue
Block a user