2025-07-20 00:47:03 +02:00

24 lines
573 B
Go

package subcommands
import (
"context"
"github.com/DariusKlein/kleinCommand/services"
"github.com/urfave/cli/v3"
)
// StartServiceTemplate Command
func StartServiceTemplate() *cli.Command {
return &cli.Command{
Name: "start service",
Aliases: []string{"start"},
Usage: "template command usage",
Action: startServiceTemplateAction,
ArgsUsage: "args usage",
}
}
// startServiceTemplateAction logic for StartServiceTemplate
func startServiceTemplateAction(context context.Context, c *cli.Command) error {
return services.RunExampleService()
}