Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
GetSystemClient(requester apiclient.Requester) (*client.Client, error)
GetSpacedClient(requester apiclient.Requester) (*client.Client, error)
GetCurrentSpace() *spaces.Space
GetCurrentHost() string
Spinner() Spinner
IsPromptEnabled() bool
Ask(p survey.Prompt, response interface{}, opts ...survey.AskOpt) error
BuildVersion() string
}
func New ¶
func New(clientFactory apiclient.ClientFactory, asker question.AskProvider, s Spinner, buildVersion string) Factory
Click to show internal directories.
Click to hide internal directories.