MCPcopy Create free account
hub / github.com/clouditor/clouditor / NewCloudCommand

Function NewCloudCommand

cli/commands/cloud/cloud.go:275–284  ·  view source on GitHub ↗

NewCloudCommand returns a cobra command for `cloud` subcommands

()

Source from the content-addressed store, hash-verified

273
274// NewCloudCommand returns a cobra command for `cloud` subcommands
275func NewCloudCommand() *cobra.Command {
276 cmd := &cobra.Command{
277 Use: "cloud",
278 Short: "Target certification targets commands",
279 }
280
281 AddCommands(cmd)
282
283 return cmd
284}
285
286// AddCommands adds all subcommands
287func AddCommands(cmd *cobra.Command) {

Callers 2

AddCommandsFunction · 0.92
TestNewCloudCommandFunction · 0.85

Calls 1

AddCommandsFunction · 0.70

Tested by 1

TestNewCloudCommandFunction · 0.68