MCPcopy Create free account
hub / github.com/compozy/agh / newNetworkWorkCommand

Function newNetworkWorkCommand

internal/cli/network.go:802–810  ·  view source on GitHub ↗
(deps commandDeps, workspaceRef *string)

Source from the content-addressed store, hash-verified

800}
801
802func newNetworkWorkCommand(deps commandDeps, workspaceRef *string) *cobra.Command {
803 cmd := &cobra.Command{
804 Use: "work",
805 Short: "Inspect lifecycle-bearing network work",
806 }
807 cmd.AddCommand(newNetworkWorkLookupCommand(deps, workspaceRef, "lookup"))
808 cmd.AddCommand(newNetworkWorkLookupCommand(deps, workspaceRef, networkStatusKey))
809 return cmd
810}
811
812func newNetworkWorkLookupCommand(deps commandDeps, workspaceRef *string, use string) *cobra.Command {
813 var workID string

Callers 1

newNetworkCommandFunction · 0.85

Calls 1

Tested by

no test coverage detected