1
0
mirror of https://github.com/sairson/Yasso.git synced 2026-02-04 11:04:25 +08:00
Files
Yasso/cmd/version.go
2022-01-08 14:20:19 +08:00

18 lines
295 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(Clearln + "Yasso Version is 0.1.2")
},
}
func init() {
rootCmd.AddCommand(versionCmd)
}