Please use this responsibly. If someone does not want you to know their Wi-Fi password, be a decent person and respect their wishes.
Allows you to print the password of the network you are currently connected to. Useful in cases where you forget your network's password, or when you need to share it quickly with someone else without having to look it up.
Run ./get-wifi-pass.sh
The macOS keychain will prompt you for the credentials to unlock it, after supplying them, it the password wlll be outputted directly to the console.