MCPcopy Create free account
hub / github.com/cli/cli / NewApp

Function NewApp

pkg/cmd/codespace/common.go:40–51  ·  view source on GitHub ↗
(io *iostreams.IOStreams, exe executable, apiClient apiClient, browser browser.Browser, remotes func() (clicontext.Remotes, error))

Source from the content-addressed store, hash-verified

38}
39
40func NewApp(io *iostreams.IOStreams, exe executable, apiClient apiClient, browser browser.Browser, remotes func() (clicontext.Remotes, error)) *App {
41 errLogger := log.New(io.ErrOut, "", 0)
42
43 return &App{
44 io: io,
45 apiClient: apiClient,
46 errLogger: errLogger,
47 executable: exe,
48 browser: browser,
49 remotes: remotes,
50 }
51}
52
53// StartProgressIndicatorWithLabel starts a progress indicator with a message.
54func (a *App) StartProgressIndicatorWithLabel(s string) {

Callers 9

testingRebuildAppFunction · 0.85
testingPortsAppFunction · 0.85
TestEditFunction · 0.85
testingCodeAppFunction · 0.85
TestDeleteFunction · 0.85
NewCmdCodespaceFunction · 0.85
TestApp_SelectFunction · 0.85
testingLogsAppFunction · 0.85
testingSSHAppFunction · 0.85

Calls

no outgoing calls

Tested by 8

testingRebuildAppFunction · 0.68
testingPortsAppFunction · 0.68
TestEditFunction · 0.68
testingCodeAppFunction · 0.68
TestDeleteFunction · 0.68
TestApp_SelectFunction · 0.68
testingLogsAppFunction · 0.68
testingSSHAppFunction · 0.68