It would be consistent with codespaces and the github CLI at large to add a command to the gh cs that allows the end user to open the codespace environment in the browser, such as open ==> gh cs open.
It would be just like gh cs code where it shows a dropdown of the choices of codespaces, and then instead of opening vs-code it would open up the OS's default browser which, if it's authenticated with github.com will proceed to the primary value proposition of Code Spaces: allow the end-users to easily embark on a cloud development experience without the hassle of clicking around github.com, in the comfort of their terminal.
The text was updated successfully, but these errors were encountered:
startakovsky
changed the title
gh cs open should open the codespace in the browser.
Create functionality to allow this command gh cs open to open the codespace in the browser.
Jan 3, 2022
We already have the gh cs code command to open VS Code app on your computer. I understand that you are proposing to open the VS Code environment in one's web browser, correct? Would this feature then better be expressed as a flag for the existing code command, e.g. gh cs code --web?
Yeah . . . gh codespace code or gh codespace code --web captures it.
As an alternative. . . I went back and took a screenshot of the language when clicking on a codespace in the browser and it seems they use the verbiage open in vs-code, which kind of implies that what's happening in this screenshot is that we're opening the codespaces in the browser. So . . . one idea to consider is to remove gh cs code entirely and have gh cs open and gh cs open --web.
Whatever your team chooses I am stoked and flattered that you actually replied to my suggestion!! Thanks!
It would be consistent with codespaces and the github CLI at large to add a command to the
gh csthat allows the end user to open the codespace environment in the browser, such asopen==>gh cs open.It would be just like
gh cs codewhere it shows a dropdown of the choices of codespaces, and then instead of opening vs-code it would open up the OS's default browser which, if it's authenticated with github.com will proceed to the primary value proposition of Code Spaces: allow the end-users to easily embark on a cloud development experience without the hassle of clicking around github.com, in the comfort of their terminal.The text was updated successfully, but these errors were encountered: