kleinCommand/commands/service/subcommands/startParrotService.go

22 lines
486 B
Go
Raw Normal View History

2025-07-20 18:46:55 +02:00
package subcommands
import (
"context"
"github.com/DariusKlein/kleinCommand/services"
"github.com/urfave/cli/v3"
)
// StartParrotService Command
func StartParrotService() *cli.Command {
return &cli.Command{
Name: "start",
Usage: "start parrot service",
Action: startParrotServiceAction,
}
}
// startServiceTemplateAction logic for StartServiceTemplate
func startParrotServiceAction(context context.Context, c *cli.Command) error {
return services.RunParrotService()
}