MCPcopy Create free account
hub / github.com/docker/cli / hasManagementSubCommands

Function hasManagementSubCommands

cli/cobra.go:226–228  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

224}
225
226func hasManagementSubCommands(cmd *cobra.Command) bool {
227 return len(managementSubCommands(cmd)) > 0
228}
229
230func hasSwarmSubCommands(cmd *cobra.Command) bool {
231 return len(orchestratorSubCommands(cmd)) > 0

Callers

nothing calls this directly

Calls 1

managementSubCommandsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…