1
0
mirror of https://github.com/sairson/Yasso.git synced 2026-02-13 23:35:17 +08:00
Files
Yasso/cmd/version.go

18 lines
285 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print Yasso's version in screen",
Run: func(cmd *cobra.Command, args []string) {
Println("Yasso Version is 0.1.2")
},
}
func init() {
rootCmd.AddCommand(versionCmd)
}