Programatically get URL for forwarded port

Hi,

Is there a way to programatically get the url for a forwarded port?

Hey! Are you looking to grab the URL from code or the command line? We hope to provide more baked-in support for this soon, but in the meantime, you can run "npx codespaces-port " from the terminal to get the full URL for the specified port. Let me know if that unblocks you in the near-term!

Thanks, that helped.