🎨 大部分的 make 指令

This commit is contained in:
zhaoyupeng
2025-11-24 18:37:44 +08:00
commit 27fa38aef0
38 changed files with 4356 additions and 0 deletions

25
internal/cmd/install.go Normal file
View File

@@ -0,0 +1,25 @@
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
func installCmd() *cobra.Command {
_cmd := &cobra.Command{
Use: "install",
Short: "Install the project",
Long: `Install the built project to the specified location.`,
RunE: func(cmd *cobra.Command, args []string) error {
return runInstall(args)
},
}
return _cmd
}
func runInstall(args []string) error {
fmt.Println("Running install command...")
return nil
}