Files
charts/clustertool/cmd/info.go
2024-10-17 12:56:56 +02:00

20 lines
368 B
Go

package cmd
import (
"github.com/spf13/cobra"
"github.com/truecharts/public/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)
}