1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/config-tool/commands/version.go
2023-07-28 16:34:05 +02:00

21 lines
357 B
Go

package commands
import (
"fmt"
"github.com/spf13/cobra"
)
func init() {
rootCmd.AddCommand(versionCmd)
}
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version number of config-tool",
Long: `Print the version number of config-tool`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("config-tool v0.1.0")
},
}