1
0
mirror of https://github.com/sairson/Yasso.git synced 2026-02-07 12:35:08 +08:00
Files
Yasso/cmd/version.go
SaiRson 2b2d988ae9 Add files via upload
first upload
2022-01-05 22:23:51 +08:00

17 lines
291 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.1")
},
}
func init(){
rootCmd.AddCommand(versionCmd)
}