ecsgo icon indicating copy to clipboard operation
ecsgo copied to clipboard

port forwarding with multiple exposed ports

Open morph027 opened this issue 5 months ago • 2 comments

I just tried port forwarding with a container having multiple exposed ports. In https://github.com/tedsmitt/ecsgo/blob/main/internal/internal.go#L158 the command fetches the first available port. It would be good to either use -f <port> and/or present a selection which port to forward. Did not had the time yet to try implementing myself, just leaving this issue here for now.

morph027 avatar Feb 05 '24 16:02 morph027

Yep, good feedback. I'll take a look at implementing this when I get chance. Feel free to open a PR as well if you like!

tedsmitt avatar Feb 06 '24 14:02 tedsmitt

Had a quick look already and was trying to tinker with the select menu but somehow I struggle to create working go code 🙈

morph027 avatar Feb 06 '24 15:02 morph027