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

Function hasSwarmSubCommands

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

Source from the content-addressed store, hash-verified

228}
229
230func hasSwarmSubCommands(cmd *cobra.Command) bool {
231 return len(orchestratorSubCommands(cmd)) > 0
232}
233
234func hasInvalidPlugins(cmd *cobra.Command) bool {
235 return len(invalidPlugins(cmd)) > 0

Callers

nothing calls this directly

Calls 1

orchestratorSubCommandsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…