mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-12 09:34:58 +08:00
19 lines
287 B
Go
19 lines
287 B
Go
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func init() {
|
|
RootCmd.AddCommand(restoreCmd)
|
|
}
|
|
|
|
var restoreCmd = &cobra.Command{
|
|
Use: "restore",
|
|
Short: "回滚1Panel",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
fmt.Println("回滚成功")
|
|
return nil
|
|
},
|
|
}
|