feat(cli): add `portal version` to root help usage
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Yechan Kim committed
Apr 16, 2026 at 18:29 UTC
2fc489b3a1300884f130f5efcd34f46c4ea45d1d
1 file changed
+2
cmd/portal-tunnel/main.go
+2
@@ -187,6 +187,7 @@ func printRootUsage(w io.Writer) {
187
"portal expose [flags] <target>",
188
"portal expose [flags] --http-route PATH=UPSTREAM [--http-route PATH=UPSTREAM]",
189
"portal list [flags]",
190
+ "portal version",
191
},
192
[]string{
193
"portal expose 3000",
@@ -194,6 +195,7 @@ func printRootUsage(w io.Writer) {
195
"portal expose --http-route /api=http://127.0.0.1:3001 --http-route /=http://127.0.0.1:5173 --name my-app",
196
"portal expose 3000 --udp --udp-addr 127.0.0.1:5353",
197
"portal list",
198
+ "portal version",
199
},
200
)
201
}