修改git过滤文件

This commit is contained in:
zyj
2026-03-04 10:14:12 +08:00
parent a9f9330744
commit 89d64cb117
12 changed files with 570 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
package commands
import (
"fmt"
"github.com/spf13/cobra"
"github.com/user/devpack/pkg/version"
)
func newVersionCmd() *cobra.Command {
return &cobra.Command{
Use: "version",
Short: "显示版本信息",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(version.GetFullVersionInfo())
},
}
}