Files
charts/clustertool/cmd/info.go
2024-10-16 14:06:31 +02:00

20 lines
369 B
Go

package cmd
import (
"github.com/spf13/cobra"
"github.com/truecharts/private/clustertool/pkg/info"
)
var infoCmd = &cobra.Command{
Use: "info",
Short: "Prints information about the clustertool binary",
Example: "clustertool info",
Run: func(cmd *cobra.Command, args []string) {
info.NewInfo().Print()
},
}
func init() {
RootCmd.AddCommand(infoCmd)
}