mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
17 lines
325 B
Go
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")
|
|
},
|
|
}
|