2020-03-28 11:21:07 +08:00

17 lines
324 B
Go

package cmd
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")
},
}