mirror of
https://github.com/truecharts/charts.git
synced 2026-07-08 09:21:23 -03:00
20 lines
368 B
Go
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)
|
|
}
|