2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00
Files
panel/internal/route/cli.go
2024-09-19 01:37:39 +08:00

20 lines
317 B
Go

package route
import (
"github.com/urfave/cli/v2"
"github.com/TheTNB/panel/internal/service"
)
func Cli() []*cli.Command {
cliService := service.NewCliService()
return []*cli.Command{
{
Name: "test",
Aliases: []string{"t"},
Usage: "print a test message",
Action: cliService.Test,
},
}
}