chore: sub-store Go 重写项目初始化

This commit is contained in:
2026-07-27 14:38:13 +08:00
commit 90e53aa754
85 changed files with 15271 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the Sub-Store version",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("sub-store v1.0.0")
},
}
func init() {
rootCmd.AddCommand(versionCmd)
}