MCPcopy Index your code
hub / github.com/coder/coder / open

Method open

cli/open.go:25–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23)
24
25func (r *RootCmd) open() *serpent.Command {
26 cmd := &serpent.Command{
27 Use: "open",
28 Short: "Open a workspace",
29 Handler: func(inv *serpent.Invocation) error {
30 return inv.Command.HelpHandler(inv)
31 },
32 Children: []*serpent.Command{
33 r.openVSCode(),
34 r.openApp(),
35 },
36 }
37 return cmd
38}
39
40const vscodeDesktopName = "VS Code Desktop"
41

Callers 13

CoreSubcommandsMethod · 0.95
PortForwardPopoverViewFunction · 0.80
WorkspaceTerminalFunction · 0.80
openAppInNewWindowFunction · 0.80
ExternalAuthButtonsFunction · 0.80
openFunction · 0.80
WorkspaceNotificationsFunction · 0.80
ExternalAuthRowFunction · 0.80
openLinkInNewTabFunction · 0.80
handleConnectFunction · 0.80
handleMcpConnectFunction · 0.80
ExecuteAuthRequiredToolFunction · 0.80

Calls 2

openVSCodeMethod · 0.95
openAppMethod · 0.95

Tested by

no test coverage detected