Files
truecharts/clustertool/cmd/info.go
T
2024-10-19 15:18:05 +02:00

20 lines
398 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)
}