chore: caddy config file(json)
nginx: proxy version api
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"yizhisec.com/hsv2/forge/internal/cmd/installcmd"
|
||||
)
|
||||
|
||||
func installCmd() *cobra.Command {
|
||||
@@ -11,15 +10,12 @@ func installCmd() *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)
|
||||
},
|
||||
}
|
||||
|
||||
_cmd.AddCommand(
|
||||
installcmd.Check(),
|
||||
installcmd.Prepare(),
|
||||
)
|
||||
|
||||
return _cmd
|
||||
}
|
||||
|
||||
func runInstall(args []string) error {
|
||||
fmt.Println("Running install command...")
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user