terraform/command/webbrowser
Alisdair McDiarmid 12e090ce48 command/login: Fix browser launcher for WSL users
With the current implementation of terraform login, Windows Subsystem
for Linux fails to open a browser due to lack of support for xdg-open.
This commit reuses a fix from pkg/browser#8 which detects a WSL
environment and uses cmd.exe to open the URL instead.
2020-02-13 15:02:40 -05:00
..
mock.go command: Swappable implementation of launching web browsers 2019-09-09 11:15:24 -07:00
mock_test.go command: Swappable implementation of launching web browsers 2019-09-09 11:15:24 -07:00
native.go command/login: Fix browser launcher for WSL users 2020-02-13 15:02:40 -05:00
webbrowser.go command: Swappable implementation of launching web browsers 2019-09-09 11:15:24 -07:00