stacklok / stacklok/toolhive

Use `thv client setup` to un-register clients

Open
#883 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cli enhancement good-first-issue
Dominant language
Go
Stars
2.2k
Forks
300
Avg merge
1d 15h
Merged PRs (30d)
184

Description

Currently, thv client setup only works to register clients. To remove registered clients, users have to use thv config remove-client <name>.

Running thv client setup with all clients already registered gives this:

$ thv client setup

No new clients found.

I expected to be able to use thv client setup to also un-register clients, that it would load the list with the registered clients already selected, and I could use the spacebar to de-select them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the thv client setup command and compare its behavior with thv config remove-client <name>. Check how setup loads registered clients and how selection changes are persisted. Done means setup shows registered clients selected, allows de-selection, and unregisters the deselected clients without breaking new-client registration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.