ga-qr
is a tool to print qr code of a google auth key. You can scan generated qr code to add on Google Authanticator app.
% go get -u github.com/oguzhane/ga-qr
% ga-qr -s <secretkey> -i <issuer> -l <label>
-i string
Issuer
-l string
Label of account
-s string
Auth secret key
-t string
Format type: [totp|hotp] (default "totp")