mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
20 lines
317 B
Go
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,
|
|
},
|
|
}
|
|
}
|