You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
ChrisJBurns commentedon Apr 26, 2025
An example of this would be the
listcommand.Here are the two examples, the top is using the lipgloss table with some colouring and formatting, the bottom is what we currently do.
ChrisJBurns commentedon Apr 26, 2025
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 logscommand 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 athv listto get the container name, then runningthv logs containerName -t.JAORMX commentedon Jan 21, 2026
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 setupcommand, which provides a multi-step interactive TUI for client registration with keyboard navigation, styled output, and group selection.Closing this one out!