mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-20 14:29:24 +08:00
14 lines
239 B
Go
14 lines
239 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/1Panel-dev/1Panel/agent/server"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var RootCmd = &cobra.Command{
|
|
Use: "1panel-agent",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
server.Start()
|
|
return nil
|
|
},
|
|
}
|