MCPcopy Create free account
hub / github.com/opencloud-eu/opencloud / Execute

Function Execute

services/postprocessing/pkg/command/root.go:28–37  ·  view source on GitHub ↗

Execute is the entry point for the postprocessing command.

(cfg *config.Config)

Source from the content-addressed store, hash-verified

26
27// Execute is the entry point for the postprocessing command.
28func Execute(cfg *config.Config) error {
29 app := clihelper.DefaultApp(&cobra.Command{
30 Use: "postprocessing",
31 Short: "starts postprocessing service",
32 })
33 app.AddCommand(GetCommands(cfg)...)
34 app.SetArgs(os.Args[1:])
35
36 return app.ExecuteContext(cfg.Context)
37}

Callers

nothing calls this directly

Calls 2

DefaultAppFunction · 0.92
GetCommandsFunction · 0.70

Tested by

no test coverage detected