cli/pkg/cmd/codespace
Mislav Marohnić a573eb5d80
Fix codespace code command under WSL (#4747)
The `codespace code` command used the `skratchdot/open-golang` library
to open `vscode://` URLs, which uses `xdg-open` for Linux under the
hood, which isn't available under WSL.

This switches over to using the `cli/browser` package which has explicit
support for WSL by invoking `wslview` when found.
2021-11-24 16:18:24 +00:00
..
code.go Fix codespace code command under WSL (#4747) 2021-11-24 16:18:24 +00:00
code_test.go Fix codespace code command under WSL (#4747) 2021-11-24 16:18:24 +00:00
common.go codespace: progress indication, logging (#4555) 2021-10-21 18:04:04 +02:00
create.go Remove the default value from idle-timeout as the API takes care of it and this can override user settings 2021-11-18 11:38:26 -08:00
create_test.go Add idle timeout to cs create parameters (#4741) 2021-11-18 11:47:48 +00:00
delete.go codespace: progress indication, logging (#4555) 2021-10-21 18:04:04 +02:00
delete_test.go codespace: progress indication, logging (#4555) 2021-10-21 18:04:04 +02:00
list.go codespace list: support --json and --template export flags 2021-10-22 14:13:15 +02:00
logs.go Rename errors from Live Share to generic codespace 2021-11-08 13:35:48 +00:00
mock_api.go Update mocks 2021-10-13 11:04:15 -04:00
mock_prompter.go Rename the cmd pkg to codespace 2021-10-04 14:16:04 -04:00
ports.go Rename errors from Live Share to generic codespace 2021-11-08 13:35:48 +00:00
root.go Publish codespace commands (#4606) 2021-10-25 17:38:00 +00:00
ssh.go Merge pull request #4675 from cli/docs-web-formatting 2021-11-09 21:00:51 +01:00
stop.go codespace: progress indication, logging (#4555) 2021-10-21 18:04:04 +02:00