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

Function Execute

services/auth-basic/pkg/command/root.go:26–35  ·  view source on GitHub ↗

Execute is the entry point for the opencloud auth-basic command.

(cfg *config.Config)

Source from the content-addressed store, hash-verified

24
25// Execute is the entry point for the opencloud auth-basic command.
26func Execute(cfg *config.Config) error {
27 app := clihelper.DefaultApp(&cobra.Command{
28 Use: "auth-basic",
29 Short: "Provide basic authentication for OpenCloud",
30 })
31 app.AddCommand(GetCommands(cfg)...)
32 app.SetArgs(os.Args[1:])
33
34 return app.ExecuteContext(cfg.Context)
35}

Callers

nothing calls this directly

Calls 2

DefaultAppFunction · 0.92
GetCommandsFunction · 0.70

Tested by

no test coverage detected