feat(cli): allow specifying the listen address in coder port-forward (#7635)

This commit is contained in:
Colin Adler
2023-05-24 15:38:40 -04:00
committed by GitHub
parent d413b261d8
commit 5eb41e8794
4 changed files with 75 additions and 15 deletions
+4
View File
@@ -22,6 +22,10 @@ Aliases: tunnel
 $ coder port-forward <workspace> --tcp 8080,9000:3000,9090-9092,10000-10002:10010-10012 
- Port forward specifying the local address to bind to:
 $ coder port-forward <workspace> --tcp 1.2.3.4:8080:8080 
Options
-p, --tcp string-array, $CODER_PORT_FORWARD_TCP
Forward TCP port(s) from the workspace to the local machine.