Skip to content

Improve UX of the ToolHive CLI #280

Closed

Description

@ChrisJBurns

Currently we use a nice and simple CLI experience. But to improve UX we should consider making it a bit more interactive and pretty.

Options include using tools like:

Activity

  1. added
    p2
    enhancement
    on Apr 26, 2025
  2. ChrisJBurns commented on Apr 26, 2025

    @ChrisJBurns
    CollaboratorAuthor

    An example of this would be the list command.

    Here are the two examples, the top is using the lipgloss table with some colouring and formatting, the bottom is what we currently do.

    Image

  3. ChrisJBurns commented on Apr 26, 2025

    @ChrisJBurns
    CollaboratorAuthor

    We could leverage the possible interactive nature of the CLI to remove the user from typing. For example, to get the logs of a container, we could program the thv logs command to open an interactive table, they select the container they want the logs for, and it shows the logs in a tail format. As opposed to running a thv list to get the container name, then running thv logs containerName -t.

  4. JAORMX commented on Jan 21, 2026

    @JAORMX
    Collaborator

    This has been implemented! The CLI now uses charmbracelet/bubbletea and lipgloss for interactive components.

    You can see this in action with the thv client setup command, which provides a multi-step interactive TUI for client registration with keyboard navigation, styled output, and group selection.

    Closing this one out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementp2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions