Skip to content

Commit 251cadb

Browse files
calclaviaclaude
andauthored
chore: hide homepage command from public help (#752)
## Summary - Marks `smithery homepage` (and its `up`/`down`/`status` subcommands) as hidden from `--help` output - Subcommands still work when invoked directly — this is a "not GA, may be removed" pattern, matching how `mcp secrets` and `mcp logs` are already hidden in `src/index.ts` ## Why We may pull this command in the future and don't want users to depend on it as a public surface in the 1.0.0 release. ## Test plan - [x] `pnpm run build` succeeds - [x] `node dist/index.js --help` no longer lists `homepage` - [x] `node dist/index.js homepage --help` still works and shows subcommands 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 683a982 commit 251cadb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,9 +1242,9 @@ namespace
12421242
await createNamespace(name)
12431243
})
12441244

1245-
// Homepage command
1245+
// Homepage command (hidden — not GA, may be removed)
12461246
const homepageCmd = program
1247-
.command("homepage")
1247+
.command("homepage", { hidden: true })
12481248
.description("Manage the Smithery homepage dashboard")
12491249

12501250
homepageCmd

0 commit comments

Comments
 (0)