(requester apiclient.Requester)
| 66 | } |
| 67 | |
| 68 | func (f *factory) GetSpacedClient(requester apiclient.Requester) (*client.Client, error) { |
| 69 | // NOTE: Don't start the spinner here because it may prompt for user input, |
| 70 | // and GetSpacedClient has no access to the spinner in order to stop it. |
| 71 | // |
| 72 | // We could link the spinner into GetSpacedClient, but that feels like we're jumping through |
| 73 | // too many hoops when this is a niche situation and we can just turn the spinner off. |
| 74 | return f.client.GetSpacedClient(requester) |
| 75 | } |
| 76 | |
| 77 | func (f *factory) GetCurrentSpace() *spaces.Space { |
| 78 | return f.client.GetActiveSpace() |
nothing calls this directly
no test coverage detected