← back to Cli Printing Press
fix(cli): use catalog Homepage for README website link, remove Homebrew section
729ad07d13946eefefe281d06502a94638425846 · 2026-04-03 22:12:29 -0700 · Trevin Chow
Two fixes:
1. enrichSpecFromCatalog now sets WebsiteURL from the catalog's Homepage
field. Fixes postman-explore linking to https://www.postman.com instead
of https://www.postman.com/explore.
2. Removed Homebrew install section from readme.md.tmpl — we don't have
a Homebrew tap. The section was hallucinated boilerplate.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Files touched
M internal/cli/root.goM internal/generator/templates/readme.md.tmpl
Diff
commit 729ad07d13946eefefe281d06502a94638425846
Author: Trevin Chow <trevin@trevinchow.com>
Date: Fri Apr 3 22:12:29 2026 -0700
fix(cli): use catalog Homepage for README website link, remove Homebrew section
Two fixes:
1. enrichSpecFromCatalog now sets WebsiteURL from the catalog's Homepage
field. Fixes postman-explore linking to https://www.postman.com instead
of https://www.postman.com/explore.
2. Removed Homebrew install section from readme.md.tmpl — we don't have
a Homebrew tap. The section was hallucinated boilerplate.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---
internal/cli/root.go | 3 +++
internal/generator/templates/readme.md.tmpl | 6 ------
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/internal/cli/root.go b/internal/cli/root.go
index 6f0154d7..95673cf6 100644
--- a/internal/cli/root.go
+++ b/internal/cli/root.go
@@ -685,4 +685,7 @@ func enrichSpecFromCatalog(apiSpec *spec.APISpec) {
if len(entry.ProxyRoutes) > 0 && len(apiSpec.ProxyRoutes) == 0 {
apiSpec.ProxyRoutes = entry.ProxyRoutes
}
+ if entry.Homepage != "" && apiSpec.WebsiteURL == "" {
+ apiSpec.WebsiteURL = entry.Homepage
+ }
}
diff --git a/internal/generator/templates/readme.md.tmpl b/internal/generator/templates/readme.md.tmpl
index d80841c6..c5636814 100644
--- a/internal/generator/templates/readme.md.tmpl
+++ b/internal/generator/templates/readme.md.tmpl
@@ -6,12 +6,6 @@ Learn more at [{{humanName .Name}}]({{.WebsiteURL}}).{{end}}
## Install
-### Homebrew
-
-```
-brew install {{.Owner}}/tap/{{.Name}}-pp-cli
-```
-
### Go
```
← 90cf5844 feat(cli): search body construction, README website links, a
·
back to Cli Printing Press
·
fix(cli): sync path resolution for non-paginated list endpoi 8763a05f →