MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / doWeb

Function doWeb

pkg/machinescommon/web.go:50–56  ·  view source on GitHub ↗
(url string, description string, out io.Writer, flags *WebFlags)

Source from the content-addressed store, hash-verified

48}
49
50func doWeb(url string, description string, out io.Writer, flags *WebFlags) {
51 link := output.Blue(url)
52 fmt.Fprintf(out, "View this %s on Octopus Deploy: %s\n", description, link)
53 if flags.Web.Value {
54 browser.OpenURL(url)
55 }
56}

Callers 3

DoWebForTargetsFunction · 0.85
DoWebForWorkersFunction · 0.85
DoWebForWorkerPoolsFunction · 0.85

Calls 1

BlueFunction · 0.92

Tested by

no test coverage detected