@@ -19,14 +19,6 @@ var configCmd = &cobra.Command{
19
19
Long : "The config command provides subcommands to manage application configuration settings." ,
20
20
}
21
21
22
- var listRegisteredClientsCmd = & cobra.Command {
23
- Use : "list-registered-clients" ,
24
- Short : "List all registered MCP clients" ,
25
- Long : "List all clients that are registered for MCP server configuration." ,
26
- RunE : listRegisteredClientsCmdFunc ,
27
- Deprecated : "please use 'thv client list-registered' instead. This command will be removed in 2 weeks." ,
28
- }
29
-
30
22
var setCACertCmd = & cobra.Command {
31
23
Use : "set-ca-cert <path>" ,
32
24
Short : "Set the default CA certificate for container builds" ,
@@ -79,38 +71,6 @@ var unsetRegistryURLCmd = &cobra.Command{
79
71
RunE : unsetRegistryURLCmdFunc ,
80
72
}
81
73
82
- var registerClientCmd = & cobra.Command {
83
- Use : "register-client [client]" ,
84
- Short : "Register a client for MCP server configuration" ,
85
- Long : `Register a client for MCP server configuration.
86
- Valid clients are:
87
- - claude-code: Claude Code CLI
88
- - cline: Cline extension for VS Code
89
- - cursor: Cursor editor
90
- - roo-code: Roo Code extension for VS Code
91
- - vscode: Visual Studio Code
92
- - vscode-insider: Visual Studio Code Insiders edition` ,
93
- Args : cobra .ExactArgs (1 ),
94
- RunE : clientRegisterCmdFunc , // delegate to client command
95
- Deprecated : "please use 'thv client register' instead. This command will be removed in 2 weeks." ,
96
- }
97
-
98
- var removeClientCmd = & cobra.Command {
99
- Use : "remove-client [client]" ,
100
- Short : "Remove a client from MCP server configuration" ,
101
- Long : `Remove a client from MCP server configuration.
102
- Valid clients are:
103
- - claude-code: Claude Code CLI
104
- - cline: Cline extension for VS Code
105
- - cursor: Cursor editor
106
- - roo-code: Roo Code extension for VS Code
107
- - vscode: Visual Studio Code
108
- - vscode-insider: Visual Studio Code Insiders edition` ,
109
- Args : cobra .ExactArgs (1 ),
110
- RunE : clientRemoveCmdFunc , // delegate to client command
111
- Deprecated : "please use 'thv client remove' instead. This command will be removed in 2 weeks." ,
112
- }
113
-
114
74
var (
115
75
allowPrivateRegistryIp bool
116
76
)
@@ -120,7 +80,6 @@ func init() {
120
80
rootCmd .AddCommand (configCmd )
121
81
122
82
// Add subcommands to config command
123
- configCmd .AddCommand (listRegisteredClientsCmd )
124
83
configCmd .AddCommand (setCACertCmd )
125
84
configCmd .AddCommand (getCACertCmd )
126
85
configCmd .AddCommand (unsetCACertCmd )
@@ -134,8 +93,6 @@ func init() {
134
93
)
135
94
configCmd .AddCommand (getRegistryURLCmd )
136
95
configCmd .AddCommand (unsetRegistryURLCmd )
137
- configCmd .AddCommand (registerClientCmd )
138
- configCmd .AddCommand (removeClientCmd )
139
96
140
97
// Add OTEL parent command to config
141
98
configCmd .AddCommand (OtelCmd )
0 commit comments