Skip to content

Commit 8a866f7

Browse files
committed
feat: remove deprecated install subcommand
Remove the install subcommand alias from main.go and its reference in the help text. mcp add and mcp remove are the canonical interface. The internal/install package is unchanged. Closes #7
1 parent 39f3219 commit 8a866f7

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

cmd/datetime-mcp/main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ func main() {
2727
exe, _ := os.Executable()
2828
exe, _ = filepath.EvalSymlinks(exe)
2929
switch os.Args[1] {
30-
case "install":
31-
install.Run(os.Args[2:], exe)
32-
return
3330
case "mcp":
3431
if len(os.Args) < 3 {
3532
fmt.Fprintf(os.Stderr, "usage: datetime-mcp mcp <add|remove> [flags]\n")
@@ -168,15 +165,13 @@ Usage:
168165
datetime-mcp [flags]
169166
datetime-mcp mcp add [--claude-code-hook] [--claude-desktop] [--claude-code] [--codex] [--dry-run]
170167
datetime-mcp mcp remove [--claude-code-hook] [--claude-desktop] [--claude-code] [--codex] [--dry-run]
171-
datetime-mcp install [--claude-code-hook] [--claude-desktop] [--claude-code-mcp] [--codex-mcp] [--dry-run]
172168
173169
Subcommands:
174170
mcp add Register with AI tool integrations
175171
mcp remove Remove from AI tool integrations
176172
format install Download and install built-in format files
177173
format update Re-download and overwrite managed format files
178174
format uninstall Remove managed format files
179-
install Alias for mcp add (deprecated)
180175
181176
Flags:
182177
--mcp Run as MCP server (stdio JSON-RPC)

0 commit comments

Comments
 (0)