2020-04-01 20:40:11 +08:00

17 lines
325 B
Go

package main
import (
"fmt"
"github.com/spf13/cobra"
)
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version number of ShadowEditor",
Long: `All software has versions. This is ShadowEditor's`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("ShadowEditor version: v0.4.6")
},
}