Documentation
¶
Overview ¶
Package ui provides terminal UI helpers for the ToolHive CLI.
Index ¶
- func RenderClientStatusTable(clientStatuses []client.MCPClientStatus) error
- func RenderRegisteredClientsTable(registeredClients []RegisteredClient, hasGroups bool) error
- func RunClientSetup(clients []client.MCPClientStatus, availableGroups []*groups.Group) ([]client.MCPClientStatus, []string, bool, error)
- type RegisteredClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderClientStatusTable ¶
func RenderClientStatusTable(clientStatuses []client.MCPClientStatus) error
RenderClientStatusTable renders the client status table to stdout.
func RenderRegisteredClientsTable ¶ added in v0.2.8
func RenderRegisteredClientsTable(registeredClients []RegisteredClient, hasGroups bool) error
RenderRegisteredClientsTable renders the registered clients table to stdout.
func RunClientSetup ¶
func RunClientSetup( clients []client.MCPClientStatus, availableGroups []*groups.Group, ) ([]client.MCPClientStatus, []string, bool, error)
RunClientSetup runs the interactive client setup and returns the selected clients, groups, and whether the user confirmed.
Types ¶
type RegisteredClient ¶ added in v0.2.8
RegisteredClient represents a registered client with its associated groups
Click to show internal directories.
Click to hide internal directories.