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

Function GetCommands

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

GetCommands provides all commands for this service

(cfg *config.Config)

Source from the content-addressed store, hash-verified

10
11// GetCommands provides all commands for this service
12func GetCommands(cfg *config.Config) []*cobra.Command {
13 return []*cobra.Command{
14 // start this service
15 Server(cfg),
16
17 // interaction with this service
18
19 // infos about this service
20 Health(cfg),
21 Version(cfg),
22 }
23}
24
25// Execute is the entry point for the opencloud auth-basic command.
26func Execute(cfg *config.Config) error {

Callers 1

ExecuteFunction · 0.70

Calls 3

ServerFunction · 0.70
HealthFunction · 0.70
VersionFunction · 0.70

Tested by

no test coverage detected