Inspired by wifi-password, rewritten in Go because why not.
Works on macOS and Windows
$ git clone https://github.com/sk1tter/go-wifi.git
$ cd go-wifi
$ go build
$ go get github.com/sk1tter/go-wifi
$./go-wifi -h
Usage of ./go-wifi:
-qr
Make a QR code (default true)
-qr-path string
Path to save generated QR code (default ".")