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